Repeatedly click the dots for a tutorial, click and drag to rotate, and – after writing a function of your own – hit "enter" to generate a shareable URL!
Let me be clear: This thing is wholly derivative, merely adding a third dimension to Martin Kleppe's excellent creative code golfing tool tixy [0] (which you should definitely check out if you find yourself liking this 3D variant of it) by mashing it up with David DeSandro's equally-excellent 3D library Zdog [1]. Those two deserve any and all credit.
If you stop that one rotating with the mouse, it's some kind of brain-damaging illusion. Or thousands of illusions, most of which do something weird to your eyes–it looks very different from different angles. Hmm that is such a great way of generating (2D) optical illusions!
I think this would might better with a slight perspective transformation, at least for some effects - sometimes the 3d is hard to appreciate.
Also once you drag manually there is no way to put it back into auto-rotate mode. It would be great if there was a bit of momentum when you drag - it should carry on at the speed you dragged it.
Inspired by tixy.land, I recently made a simple game engine with 16x16 animated “pixels”. We used it as an in-class activity during the last week of the semester.
Easiest fix could be to tone down the white and red colors by default so that any flashing stays under the accessibility threshold.
It would also be cheap to render frames one second ahead, but I don't know if a client-side accessibility analyzer exists to create a warning dialog in case the frames contain too much flashing.
I've wanted to build a LED cube [1] for a while, but just haven't had the time to get to it yet. This is basically a virtual version of the same thing, very cool. And significantly simpler to experiment with before committing to several days of soldering.
Blatant self promotion, but my friend and I just launched an LED cube kit on Kickstarter [1] which you might be interested in (no soldering). It's just the outermost LEDs on three sides, but the idea is similar, you create all sorts of animations in just a few lines of Python, e.g. use 4D noise to create a digital lava lamp effect etc. Also every component exposes a REST endpoint, so you can use other languages too.
There can be a real-life 2D version of this: it probably can be integrated to an Arduino project using a LED 8x8 Red Dot Matrix Display (piece code MAX7219).
[+] [-] doersino|4 years ago|reply
The source code can be found here: https://github.com/doersino/tixyz
Let me be clear: This thing is wholly derivative, merely adding a third dimension to Martin Kleppe's excellent creative code golfing tool tixy [0] (which you should definitely check out if you find yourself liking this 3D variant of it) by mashing it up with David DeSandro's equally-excellent 3D library Zdog [1]. Those two deserve any and all credit.
[0]: https://tixy.land and previously discussed at https://news.ycombinator.com/item?id=24974534
[1]: https://zzz.dog and https://news.ycombinator.com/item?id=20036169
[+] [-] huhtenberg|4 years ago|reply
I doubt it was your intent, but at the very least you should give the credit to tixy.land, with a link, front and center right there on the page.
Also, something as simple as using a different color pair would really help to distance it from the original.
[+] [-] chaosmachine|4 years ago|reply
Play with the frame rate ("24") for some interesting effects.
Edit: One more:
https://doersino.github.io/tixyz/?code=sin%28i*t%2F999%29*%2...
[+] [-] yesenadam|4 years ago|reply
sin(i+t) : https://doersino.github.io/tixyz/?code=sin(i%2Bt)
If you stop that one rotating with the mouse, it's some kind of brain-damaging illusion. Or thousands of illusions, most of which do something weird to your eyes–it looks very different from different angles. Hmm that is such a great way of generating (2D) optical illusions!
[+] [-] peanutz454|4 years ago|reply
[+] [-] rjmunro|4 years ago|reply
Also once you drag manually there is no way to put it back into auto-rotate mode. It would be great if there was a bit of momentum when you drag - it should carry on at the speed you dragged it.
[+] [-] richrichardsson|4 years ago|reply
A configurable perspective transform would be brilliant.
[+] [-] azhenley|4 years ago|reply
https://github.com/AZHenley/wiggleface
[+] [-] _Microft|4 years ago|reply
Here is the post from when I discovered it:
https://news.ycombinator.com/item?id=24980221
Edit: no, that still works, here is an example:
https://doersino.github.io/tixyz/?code=eval(%27%2F*%27%2Bpar...
[+] [-] doersino|4 years ago|reply
[1]: https://twitter.com/aemkei/status/1325918933375987712
[+] [-] simlevesque|4 years ago|reply
Edit: i just figured out that t is a float, I thought it was the seconds as an int.
Edit 2: if anyone reads this, try to make a barbershop type thing.
[+] [-] schaefer|4 years ago|reply
but also, if you are sensitive to flashing lights, this web page has 512 of them.
[+] [-] tuukkah|4 years ago|reply
It would also be cheap to render frames one second ahead, but I don't know if a client-side accessibility analyzer exists to create a warning dialog in case the frames contain too much flashing.
[+] [-] gregmac|4 years ago|reply
[1] https://www.instructables.com/Led-Cube-8x8x8/
[+] [-] abstractfoundry|4 years ago|reply
[1] https://www.kickstarter.com/projects/1202256831/lumicube-an-...
[+] [-] pantelisk|4 years ago|reply
I call this, "Sweeping Vertigo" https://doersino.github.io/tixyz/?code=tan%28i%2Bt%29*random...
[+] [-] quickthrower2|4 years ago|reply
https://doersino.github.io/tixyz/?code=Math.random(1)
[+] [-] quickthrower2|4 years ago|reply
[+] [-] rsiqueira|4 years ago|reply
[+] [-] doersino|4 years ago|reply
https://twitter.com/atesgoral/status/1325947885817565185
https://twitter.com/aemkei/status/1325888127102226432
3D LED cubes are also a thing, as another commenter in this thread noted:
https://news.ycombinator.com/item?id=26978173