Hacker News new | ask | show | jobs
by hftf 3504 days ago
I wonder if it’s possible to turn this into a video filter.
3 comments

Last time primitive was posted I wrote some bash scripts to make it work on video using ffmpeg - https://rybakov.com/blog/primitive/
I bet it would look really cool to have 3D primitives that can be oriented with respect to the time dimension. So for example, a spherical primitive would be a circle that grows and shrinks as frames progress.
I don't see why that wouldn't be possible, it likely wouldn't run in realtime though.
Well, a problem could be that you get a lot of noise if all the frames are rendered independently.

You need a constraint that guarantees for example that without any changes in the video, you won't see any changing primitives.

> Well, a problem could be that you get a lot of noise if all the frames are rendered independently.

The site shows an example of what a still image looks like if rendered with the same parameters several times; it provides an interesting animated effect. I think that might produce an interesting animation style.

But for a more consistent style between frames, it'd help to have a way to seed the RNG consistently.

I think there is more to it than just seeding the RNG consistently.

For example: what if you have a minor change in the area of the screen that got the first primitive (and hence used the first few RNG numbers)? Then all the remaining primitives will use different RNG numbers.

I think the problem becomes more difficult: you want to find the primitives that result in the minimal change wrt the previous frame.