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
0e6a1b33
Commit
0e6a1b33
authored
Mar 01, 2024
by
PLN (Algolia)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
did:Saturne
parent
da58c17a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
0 deletions
+36
-0
did.js
StarryNights/did.js
+36
-0
february-18.jpg
StarryNights/img/february-18.jpg
+0
-0
february-24-2019-saturn-and-moons.jpg
StarryNights/img/february-24-2019-saturn-and-moons.jpg
+0
-0
No files found.
StarryNights/did.js
0 → 100644
View file @
0e6a1b33
// On February 24 in 2009
// Saturn and Moons
// In this image, four moons of Saturn are passing in front of the giant planet.
// The large, orange moon Titan casts a large shadow on the northern pole. Smaller moons Mimas, Dione and Enceladus appear as white dots.
s0
.
initImage
(
"file:///home/pln/Work/Hydra/StarryNights/img/february-24-2019-saturn-and-moons.jpg"
)
// Source celeste: Saturne
src
(
s0
)
.
scale
(()
=>
1
+
0.025
*
Math
.
sin
(
time
/
2.413
))
.
scale
(()
=>
1.15
+
0.25
*
Math
.
sin
(
time
/
24.0257
))
.
contrast
(
1.32
).
brightness
(
-
0.1
)
.
out
(
o0
)
// Oeuvre au noir: soustraction en rotation
src
(
o0
)
.
sub
(
src
(
o2
).
rotate
(()
=>
time
/
199.3
%
360
).
scale
([
0.999
,
1.001
]))
.
out
(
o1
)
// Oeuvre au blanc: filtre lumineux
src
(
o0
)
.
add
(
src
(
o1
)
.
rotate
(()
=>
-
(
time
/
57.0224
)
%
220
)
.
luma
(()
=>
0.5
+
0.8
*
Math
.
sin
(
time
/
19.93
))
.
mask
(
voronoi
(
12
,
0.2
))
.
scale
(
0.25
))
.
out
(
o2
)
//Oeuvre au jaune: Masque geometrique
src
(
o1
)
.
blend
(
o2
,()
=>
0.8
+
0.4
*
Math
.
sin
(
time
))
.
blend
(
src
(
o1
),()
=>
0.8
+
0.6
*
Math
.
sin
(
time
/
(
1312
)))
// Oeuvre au rouge: Etoiles solaires
.
add
(
noise
(
93
,
0.01
)
.
scroll
(()
=>
time
/
195.7
)
.
mask
(
shape
(
30
).
scale
(
1.93
).
invert
())
.
thresh
(
0.93
))
.
out
(
o3
)
render
(
o3
)
StarryNights/img/february-18.jpg
0 → 100644
View file @
0e6a1b33
475 KB
StarryNights/img/february-24-2019-saturn-and-moons.jpg
0 → 100644
View file @
0e6a1b33
357 KB
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