-
-
Notifications
You must be signed in to change notification settings - Fork 38
this is beautiful #3
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
Comments
Thanks for the positive feedback htor :) It is one of the little weekend projects I'm the most proud of. |
you're welcome. this made me want to spend a weekend myself with turing machines and a canvas, actually. any idea if performance will get bad if you put this to work on a full-screen canvas? i'm into audio visualizations and live coding, so i'm thinking that using this module for that would be great too.. |
It was quite fast back in 2012. I imagine JS engines have gotten slightly faster since. You can also use some tricks like (x + y) | 0 to coerce values to integers, give performance hints to the JS engine, use typed arrays, etc. Besides that, it's going to depend on the resolution, but one thing that's interesting about Turing Drawings is that the read/write head is moving all over, changing one pixel at a time. So technically, you can render this at any frame rate you want, by adjusting the number of updates you allow for each frame. You could also try to make a version that runs in a shader program on the GPU with WebGL, and uses multiple read/write heads, though that comes with its own difficulties. |
thanks, i'll try and experiment with this in mind! |
there are no issues whatsoever, just wanted to say thank you for making this nice piece of software!
it really generates some fantastic images/sequences!!
The text was updated successfully, but these errors were encountered: