fieldplay icon indicating copy to clipboard operation
fieldplay copied to clipboard

Is it possible to expose time to the definition?

Open kylehovey opened this issue 5 years ago • 1 comments

It would be cool to demo strange-attractor-like systems such as the ones demonstrated in this video. I cloned the project, but I don't know enough GLSL to contribute yet. Could you estimate how difficult it would be to expose a t variable in the get_velocity user-defined function?

kylehovey avatar Mar 07 '19 06:03 kylehovey

There's a frame variable you can use. See https://github.com/anvaka/fieldplay/blob/master/API.md

redblobgames avatar Sep 30 '20 19:09 redblobgames