r/generative • • 3d ago • Mindblown 1

I'm working on a visual programming tool to make looping animated gif. Here some stuff I made with it.

The tool is called nodepainter. It's a graph based programming tool that work in a browser, on desktop and mobile. I've been working on it for 3 years. It's support both 2d and 3d.

493 Upvotes

29 comments sorted by

25

u/unformation 3d ago

For those who didn't find this: https://github.com/grifdail/NodePainter

6

u/grifdail 2d ago

Thank for this ! I forgot to post the link !

There's also this page that give a few more information as well as showcase a bunch of other animation !
https://grifdail.fr/nodepainter.html

4

u/Rufio-1408 3d ago

It might be the playback on Reddit, or you might need to shorten the length by one frame.

When you make a loop you want the first and last frame to be identical, but you don’t want to see both frames so finish the animation one frame early.

I can spot where these loop, again could just be Reddit playback.

Super cool concept and work though!

1

u/grifdail 2d ago

I've spend the last few minute looking at it, trying to spot the stutter, both here and on other plateform and i cannot see it. They're supposed to be 32fps, so maybe it's a problem with my screen ? Or maybe I'm just less sensitive ?

but you're not the first person to point it out so maybe ? I'll try to export with one less frame next time to see if th

3

u/Rufio-1408 2d ago

I’m a touring VJ so maybe my eyes are just a little more sensitive than most haha

One way to test, would be take one clip into premiere then duplicate it next to itself. Go to the join and scrub with the arrow keys frame by frame to see if you have two the same at the join.

That assumes the loop point is at the start/end though, so you could also just click through the entire clip frame by frame and see if you have 2 identical.

They also may not be exactly identical, but slightly past/early to the loop point causing a slight change at that moment.

Or it could be the Reddit player haha

4

u/lastMinute_panic 2d ago

Animator here. I also see it, on reddit web mobile if it helps. Also, this is so dope! 

2

u/Ecoaardvark 1d ago

I saw it too but kudos for making this

1

u/GhostNippIe 4h ago

I think most obvious on the cubes for me, a double frame at the loop.

3

u/evanhaveman 3d ago

Love to see what your interface is like! The output is great.

1

u/grifdail 2d ago

Thank I I forgot the link earlier but the tool is here: https://nodepainter.grifdail.fr It's badly documented though so I suggest looking at examples.

2

u/lastMinute_panic 2d ago

I have maybe a silly question but can I output to code and drop it onto a react/web project? Or must it be rendered to a gif/webm format first?

1

u/grifdail 5h ago

Not right now unfortunately. I thought about it a lot though. The graph is interpreted rather than compiled (meaning that the programme read each node and execute specific logic for it, instead of the the graph being compiled to javascript to be executed directly.)
Getting a compiled version means rewriting each of the 300 nodes.
Or i could just bundle the whole engine with the graph but that's still pretty huge and require massive refactor.

The best I can do is a preview page in the engine.

Also You can export to png sequence, if that's more usefull ?

2

u/Fenzik 3d ago

These are so cool! What is a graph-based programming tool exactly? Like what does that mean?

1

u/grifdail 2d ago

Graph based programing is a type of programming where instead of typing code into a text file, you use a visual interface where you link various block (commonly named Node) together.
Some example include Blender's geometry node or Unreal Engine's blueprint.
You can see example of what Node Painter version look like here: https://grifdail.fr/nodepainter.html

1

u/Fenzik 2d ago

Oh really cool, thanks for sharing! Such an interesting idea but it’d take a while to grok how to use it effectively I think

17

u/IdealDairyModule 3d ago

Very cool work! Great idea to make it loop!!

4

u/hideousox 3d ago

Love this, please share !

1

u/flying-squid2010 3d ago

This looks really nice! Do you have a GitHub you could share?

1

u/grifdail 2d ago

Hey ! I forgot the link early but someone posted it in the comments above

1

u/ricaerredois 3d ago

Is that like a particle generator? How did you do it?

1

u/grifdail 2d ago

Although the engine do support it, in the case of the green river above it's not.
Each dot follow a simple bezier curve but for each one, the curve points have been slightly randomized.

For the 3d one, it's just 10 grid of cube moving in a straight line toward the camera. Once they got past it, they're "teleported" back at the end.

1

u/Crevetolog 3d ago

Really cool and clean results, great work !

1

u/grifdail 2d ago

Thank you !

1

u/Ok_Square3932 8h ago

no apk?

1

u/grifdail 5h ago

No, but it works as a web app. You can probably just add it to your phone...

2

u/cartoonasaurus 3d ago

Marvelous work…

1

u/burnt-store-studio 3d ago

I really like what you’re demonstrating here!

Thanks for sharing! Great work! Must feel very satisfying 🙂

1

u/guac-o 3d ago

They all feel like you had some vision or engaging creative process - really cool

1

u/bsgbryan 2d ago

Very cool!