Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
Hydra
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PLN
Hydra
Commits
dfd9c56a
Commit
dfd9c56a
authored
Mar 02, 2024
by
PLN (Algolia)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
StarryNights: did & sylvie
parent
0e6a1b33
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
4 deletions
+36
-4
did.js
StarryNights/did.js
+3
-4
sylvie.js
StarryNights/sylvie.js
+33
-0
No files found.
StarryNights/did.js
View file @
dfd9c56a
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
s0
.
initImage
(
"file:///home/pln/Work/Hydra/StarryNights/img/february-24-2019-saturn-and-moons.jpg"
)
s0
.
initImage
(
"file:///home/pln/Work/Hydra/StarryNights/img/february-24-2019-saturn-and-moons.jpg"
)
// Source celeste: Saturne
// Source celeste: Saturne
src
(
s0
)
src
(
s0
)
.
scale
(()
=>
1
+
0.025
*
Math
.
sin
(
time
/
2.413
))
.
scale
(()
=>
1
+
0.025
*
Math
.
sin
(
time
/
13.12
))
.
scale
(()
=>
1.15
+
0.25
*
Math
.
sin
(
time
/
24.0257
))
.
scale
(()
=>
1.15
+
0.25
*
Math
.
sin
(
time
/
24.0257
))
.
contrast
(
1.32
).
brightness
(
-
0.1
)
.
contrast
(
1.32
).
brightness
(
-
0.1
)
.
out
(
o0
)
.
out
(
o0
)
...
@@ -24,13 +24,12 @@ src(o0)
...
@@ -24,13 +24,12 @@ src(o0)
.
out
(
o2
)
.
out
(
o2
)
//Oeuvre au jaune: Masque geometrique
//Oeuvre au jaune: Masque geometrique
src
(
o1
)
src
(
o1
)
.
blend
(
o2
,()
=>
0.8
+
0.4
*
Math
.
sin
(
time
))
.
blend
(
src
(
o1
),()
=>
0.8
+
0.6
*
Math
.
sin
(
time
/
(
1312
)))
.
blend
(
src
(
o1
),()
=>
0.8
+
0.6
*
Math
.
sin
(
time
/
(
1312
)))
.
blend
(
o2
,()
=>
0.4
+
0.8
*
Math
.
sin
(
time
/
10
))
// Oeuvre au rouge: Etoiles solaires
// Oeuvre au rouge: Etoiles solaires
.
add
(
noise
(
93
,
0.01
)
.
add
(
noise
(
93
,
0.01
)
.
scroll
(()
=>
time
/
195.7
)
.
scroll
(()
=>
time
/
195.7
)
.
mask
(
shape
(
30
).
scale
(
1.
93
).
invert
())
.
mask
(
shape
(
30
).
scale
(
1.
31
,
0.78
).
invert
())
.
thresh
(
0.93
))
.
thresh
(
0.93
))
.
out
(
o3
)
.
out
(
o3
)
render
(
o3
)
render
(
o3
)
StarryNights/sylvie.js
0 → 100644
View file @
dfd9c56a
// On February 18 in 2014
// Herbig-Haro 24
// A partially obscured, newborn star near the center of this image is shooting twin jets into the surrounding gas and dust.
// The shocks from the collision light up patches of nebulosity collectively called Herbig-Haro 24.
s0
.
initImage
(
"file:///home/pln/Work/Hydra/StarryNights/img/february-18.jpg"
)
// Source celeste: Saturne
src
(
s0
)
// .scale(() => 1 + 0.025 * Math.sin(time / 13.12))
// .scale(() => 1.15 + 0.25 * Math.sin(time / 18.0264))
.
contrast
(
1.2
).
brightness
(
-
0.05
)
.
out
(
o0
)
// Transformation: modulation électrique
src
(
o0
)
.
modulate
(
src
(
o0
)
.
scale
(()
=>
0.9
+
0.1
*
Math
.
sin
(
time
/
19.64
))
)
.
out
(
o1
)
// Assistant Executif: Le Cercle
shape
(
64
).
scale
(
0.8
,
0.6
).
scale
(()
=>
1.5
+
0.5
*
Math
.
sin
(
time
/
1802
))
.
scale
(()
=>
0.9
+
0.85
*
Math
.
sin
(
time
/
64.1802
))
.
out
(
o2
)
// Forme finale: sphère d'influence
src
(
o1
)
.
modulate
(
src
(
o2
))
.
add
(
src
(
o3
).
contrast
(
1.993
).
mask
(
o2
),
0.2
)
.
add
(
noise
(
199
,
0.02
)
.
thresh
(()
=>
0.93
+
0.1
*
Math
.
sin
(
time
/
64.1802
))
.
scroll
(
0
,
()
=>
-
time
/
1964.0218
)
.
mask
(
src
(
o2
).
invert
())
)
.
out
(
o3
)
render
(
o3
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment