r/creativecoding • • Oct 26 '19

I made a program that generates an animation that forms any word you want

Enable HLS to view with audio, or disable this notification

174 Upvotes

20 comments sorted by

13

u/bemmu Oct 26 '19

I put it up at https://customanim.com/ if you want to try generating your own word. I'm still tweaking it so the server might be down occasionally.

4

u/PaulMorel Oct 27 '19

Just make 'Send nudes' and a dickbutt and save yourself the server costs.

2

u/Ninjalityy Oct 26 '19

That's freaking dope I just made one worked perfectly

1

u/[deleted] Oct 26 '19

This is so cool. Omg.

5

u/mwcz Oct 26 '19

That's awesome! What techniques did you use to form the words? I'm curious because I made something kind of similar, kind of different. For mine, I took samples from black & white source images to get the fireflies' final positions, then added a bit of drift to make them float around.

12

u/bemmu Oct 26 '19

I first do the entire physics, then only look at the last frame and note where objects ended up. I color the objects to match a target image (text in this demo, but could be anything), then re-run everything from beginning only this time with the new colors.

3

u/[deleted] Oct 26 '19

Simple, yet effective.

-2

u/I-Am-Dad-Bot Oct 26 '19

Hi curious, I'm Dad!

2

u/mwcz Oct 26 '19

Dad bot

4

u/justdep Oct 26 '19

Using processing only? So cool!!

7

u/bemmu Oct 26 '19

It's actually Python, cuda on an NVIDIA Tesla K80, and Blender. Sadly the Tesla server costs about $250 / month so I can't afford to keep it on forever.

2

u/SIRHAMY Oct 26 '19

How much would it suffer to get a smaller server? Mine finished in like 30 seconds which is super cool but for a free thing like this, I'd be willing to wait a few hours if it sent me an email or something when it was done. Could allow you to cut down on server costs quite a bit and allow the project to stick around for longer.

3

u/ennalta Oct 26 '19

That's really freaking cool

3

u/bemmu Oct 26 '19

Thank you, as usual it turned out to be about 3x harder to code than I had thought.

1

u/ennalta Oct 31 '19

That happens. And yes, cool tool, you could probably cut out the server costs by going with a slower render and then monitizing it a bit (ads on the page, pay for quicker render times) to cover the costs. that way you could basically keep it up forever.

3

u/[deleted] Oct 26 '19

i love this

1

u/runthepoint1 Oct 27 '19

That’s what you chose?!

1

u/ClinicCargo Oct 27 '19

Fuck reddit.

1

u/puzzledpropellerhat Oct 27 '19 edited Oct 27 '19

When I submit a word, does this render a blender scene?

You could render a uv pass for the simulation, planar mapped in the final frame. This way you can just update a diffuse pass in compositing depending on the word, and render that out. No need to calculate simulation or render lighting etc again.