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
eecd6aaf
Commit
eecd6aaf
authored
Sep 28, 2024
by
PLN (Algolia)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
StarryNights: Raph24
parent
a121b804
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
8 deletions
+36
-8
SeptemberGalaxy.js
StarryNights/SeptemberGalaxy.js
+36
-8
cosmos.jpg
StarryNights/img/cosmos.jpg
+0
-0
cosmos.png
StarryNights/img/cosmos.png
+0
-0
No files found.
StarryNights/SeptemberGalaxy.js
View file @
eecd6aaf
s0
.
initImage
(
"file:///home/pln/Work/Hydra/StarryNights/img/september-28-land.jpg"
)
src
(
s0
).
out
(
o0
)
s0
.
initImage
(
"file:///home/pln/Work/Hydra/StarryNights/img/september-28-2019-galaxy-ngc-300.jpg"
)
s1
.
initImage
(
"file:///home/pln/Work/Hydra/StarryNights/img/cosmos.jpg"
)
src
(
s0
)
// .scale(2, 1)
.
out
(
o0
)
src
(
o0
)
.
blend
(
noise
(
100
,
0.6
),
0.06
)
.
out
(
o1
)
// Phase 2
src
(
o1
)
.
blend
(
noise
(
200
).
thresh
(
0.84
)
,
0.45
.
mult
(
src
(
o1
)
.
scale
(()
=>
0.8
+
0.4
*
Math
.
abs
(
Math
.
sin
(
time
*
2
)
%
30
/
30
))
.
luma
(
0.7
)
.
thresh
(()
=>
0.84
+
0.1
*
Math
.
sin
(
time
/
20
))
// , 0.7
)
.
out
(
o2
)
render
(
o2
)
// Phase 3: Que les vents célestes te portent
src
(
o2
)
.
blend
(
src
(
o1
).
scale
(
0.9
).
mask
(
shape
(
4
).
scale
(
3.3
))
.
luma
(()
=>
0.5
+
0.15
*
Math
.
sin
(
time
*
0.65
))
,
()
=>
0.4
+
0.3
*
Math
.
sin
(
time
))
.
add
(
src
(
s1
)
.
scale
(
0.1
)
.
contrast
(
0.5
)
// .mask(shape(4).scale(0.85))
.
modulate
(
// osc(1, () => 0.35 + 0.35 * Math.sin(time/2))
// osc(() => ((time / 10) % 150),0.002)
// src(o1)
noise
(()
=>
11
-
5
*
((
time
/
2000
)
%
5
),
0.01
)
)
.
invert
()
.
luma
(
0.5
)
.
scale
(
3.7
)
.
mask
(
shape
(
4
).
scale
(()
=>
1
,
4
+
1.2
*
Math
.
abs
(
Math
.
sin
(
time
/
13
)))),
()
=>
0.2
*
((
time
/
1989
)
%
10
)
)
.
out
(
o3
)
render
(
o3
)
// render()
StarryNights/img/cosmos.jpg
0 → 100644
View file @
eecd6aaf
100 KB
StarryNights/img/cosmos.png
0 → 100644
View file @
eecd6aaf
30.5 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