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
eac62e81
Commit
eac62e81
authored
Oct 13, 2022
by
PLN (Algolia)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: Feuilles vivantes
parent
5ef65f44
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
pierre_feuilles.js
friends/pierre_feuilles.js
+31
-0
No files found.
friends/pierre_feuilles.js
0 → 100644
View file @
eac62e81
// Feuilles vivantes
// Par PLN
// Basé sur une photo de Chris Lawton : https://unsplash.com/photos/5IHz5WhosQE
//
// Pour Pierre
s0
.
initImage
(
"https://images.unsplash.com/photo-1477414348463-c0eb7f1359b6?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2670&q=80"
)
src
(
s0
)
.
scrollX
(
-
0.1
)
.
out
(
o0
)
src
(
o0
).
modulate
(
o2
)
.
scale
(
0.99
)
.
out
(
o1
)
src
(
o1
)
.
scale
(
1.0009
)
.
out
(
o2
)
src
(
o2
)
.
scale
(()
=>
1.05
+
0.2
*
Math
.
sin
(
time
/
10
))
.
luma
(()
=>
0.1
+
0.7
*
(
Math
.
sin
(
time
/
100
)))
.
blend
(
src
(
o2
)
.
modulateRotate
(
src
(
o3
).
scale
(()
=>
1
+
19
*
Math
.
sin
(
time
/
20
)))
.
scale
(()
=>
0.4
+
0.05
*
Math
.
sin
(
time
/
10
))
,
0.2
)
.
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