Skip to content

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

Closed
htor opened this issue May 29, 2018 · 4 comments
Closed

this is beautiful #3

htor opened this issue May 29, 2018 · 4 comments

Comments

@htor
Copy link

htor commented May 29, 2018

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!!

@maximecb
Copy link
Owner

Thanks for the positive feedback htor :)

It is one of the little weekend projects I'm the most proud of.

@htor
Copy link
Author

htor commented May 29, 2018

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..

@maximecb
Copy link
Owner

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.

@htor
Copy link
Author

htor commented May 31, 2018

thanks, i'll try and experiment with this in mind!

@htor htor closed this as completed May 31, 2018
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