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
99513346
Commit
99513346
authored
Apr 21, 2022
by
PLN (Algolia)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Starry night: Lucia <3
parent
9e837a69
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
0 deletions
+35
-0
Lucia.js
StarryNights/Lucia.js
+35
-0
No files found.
StarryNights/Lucia.js
0 → 100644
View file @
99513346
// On April 21 in 2014
// This image of Jupiter was taken by the OPAL Program
// (Outer Planet Atmospheres Legacy), a long-term project that uses Hubble
// to capture global maps of the outer planets every year.
// The Great Red Spot appears in the lower right.
s0
.
initImage
(
"https://imagine.gsfc.nasa.gov/hst_bday/images/april-21-2019-jupiter.jpg"
)
periodMask
=
21
periodScale
=
10
periodVoronoiScale
=
30
periodVoronoiRot
=
100
src
(
s0
)
.
scale
(()
=>
1
+
0.05
*
Math
.
sin
(
time
/
periodScale
))
.
out
(
o0
)
src
(
s0
).
luma
(
0.57
,
0.2
).
invert
().
out
(
o1
)
src
(
o0
)
.
mask
(
src
(
s0
)
.
modulateScale
(
voronoi
(
20
,
()
=>
0.03
+
0.02
*
Math
.
sin
(
time
/
periodVoronoiScale
)))
.
rotate
(()
=>
time
/
periodVoronoiRot
%
360
))
.
out
(
o2
)
src
(
o2
).
blend
(
src
(
o2
)
.
colorama
(
0.01
)
.
contrast
(
-
0.3
)
.
mask
(
shape
(
30
).
scale
(
3
)),
()
=>
0.25
*
Math
.
sin
(
time
/
periodMask
)
)
.
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