Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to expose time to the definition? #17

Open
kylehovey opened this issue Mar 7, 2019 · 1 comment
Open

Is it possible to expose time to the definition? #17

kylehovey opened this issue Mar 7, 2019 · 1 comment

Comments

@kylehovey
Copy link

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?

@redblobgames
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants