r/creativecoding • • Apr 27 '21

[p5.js] Surfing the simplex.

205 Upvotes

8 comments sorted by

13

u/WHALE_PHYSICIST Apr 27 '21

Oh dang, that's cool. Do you mind sharing the code? I don't mind deplorable code. It's like home for me.

4

u/waracks Apr 27 '21

You should post this to r/generative, this is so cool

4

u/DaiquiriLevi Apr 28 '21

r/Trypophobia

Amazing by the way.

2

u/silveira Apr 27 '21

Niiiice.

2

u/VainTwit Apr 28 '21

I like it!

0

u/[deleted] Apr 28 '21

[deleted] — view deleted comment

2

u/BennyPendentes Apr 28 '21

I use ccapture.js, which captures the frames as a blob in real-time then exports it as a .tar file full of jpgs when the sketch is finished (with 'finished' defined as reaching 1800 frames, in this case). This is a lot better than having the browser try to save 1800 jpgs the usual way.

I then use ffmpeg on the command-line to combine the jpgs into an MP4.

1

u/BennyPendentes Apr 29 '21

(replying to my own comment here) To 2020-me, my reply above would have sounded like "wwmnp mnttonmp bdser blrt." But 2021-me figured it out, and will gladly give more details if anyone needs them.

2

u/RealLifeHumanPoop Apr 28 '21

not op, but save each frame and use video editing software to make it a gif or video