maximecb / Turing-Drawings

Randomly generated Turing machines draw images and animations on a 2D canvas.
323 stars 35 forks source link

I created a site to rate and save Turing Drawings #6

Open void4 opened 2 months ago

void4 commented 2 months ago

https://aesort.com/turing

Forking https://github.com/darius/Turing-Drawings, which optimized the simulation by compiling it to JS, I added some extra features, like a visualization of the transition graph, a keyboard shortcut r to create a new random drawing and a history from which you can reload already visited machines.

maximecb commented 2 months ago

Hi Darius!

Nice work. The transition graph looks good. One minor suggestion I would have is that maybe you should try to fit the transition graph closer to the visualization if possible, so that you don't have to scroll up and down to see it. It might also be more intuitive if there was a random drawing generated right when you load the page. You could also highlight the keyboard shortcut for Random by renaming the button to Random (r). Just some ideas.

void4 commented 2 months ago

I didn't do the autostart because some people advised to add an epilepsy warning because things can get really flashy. Maybe there would be a way to automatically detect and reduce that, hmmm.

It does start automatically when a machine is linked though. Good point on the button rename and yeah, the layout definitely hasn't been optimized yet.

P.S. I'm not Darius, though I may wanna be ^^

maximecb commented 2 months ago

Apologies void4, In theory you could have a whole-page seizure warning, with an OK button, and when people press OK it would store a value in local storage so that it doesn't get displayed again on that browser.

void4 commented 2 months ago

Good idea, it's using local storage now :)