Live data from Hacker News

Show HN: Minimal 3D creative coding tool – control 8×8×8 dots with JavaScript

doersino.github.io

11–20 of 31 posts

Re: Show HN: Minimal 3D creative coding tool – control 8×8×8 dots with JavaScript

#11
My best:

  tan(i*t/999)*(~~(t*24%7)==i%7)
https://doersino.github.io/tixyz/?code=tan%28i*t%2F999%29*%2...

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

Re: Show HN: Minimal 3D creative coding tool – control 8×8×8 dots with JavaScript

#12

Did you fix the bug in the tixy.land code where one could inject as much code as wanted via location.hash? 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...

That "bug" has become sort of a feature – the author of tixy.land added support for it a while ago [1], which I also merged into tixyz.

[1]: https://twitter.com/aemkei/status/1325918933375987712

Re: Show HN: Minimal 3D creative coding tool – control 8×8×8 dots with JavaScript

#13
post #2

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

This looks way to close to the original, and deceptively so at that. 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.

The author of tixy.land didn't seem to take issue with my "clone" (or the many others) – quite the opposite: https://twitter.com/aemkei/status/1325525563579244548

I don't think "deceptively" is the best word here – there's no money or private data involved, at most a small bit of street cred. The near-identical look was intended to preserve the simplicity of the original. Note that there's a reference to tixy.land in my comment here, in the README.md on GitHub, and in the tweet that's behind the "more info here" link. Anyone looking to do more than just idly play around with this tool will come across one of them.

But I get your point – I'll be adding an unobtrusive link back directly to tixy.land soon!

EDIT: Done.

Re: Show HN: Minimal 3D creative coding tool – control 8×8×8 dots with JavaScript

#14

Earlier quoted context omitted.

This looks way to close to the original, and deceptively so at that. 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.

The author of tixy.land didn't seem to take issue with my "clone" (or the many others) – quite the opposite: https://twitter.com/aemkei/status/1325525563579244548 I don't think "deceptively" is the best word here – there's no money or private data involved, at most a small bit of street cred. The near-identical look was intended to preserve the simplicity of the original. Note that there's a reference to tixy.land in…

I opened your page, saw the thing and the first question was if it's from the same guy or not. There's no answer and there should be. tixy.land is an ingenious, one of a kind construct. You piggy-back on it, it's only fair, polite and respectful to give a credit. Basic manners, really. A simple line at the bottom of the page saying "inspired by tixy.land" would do the trick. The fact that you instead chose to argue that it's not needed is really quite bizarre.

Edit: excellent, thanks for listening.

Re: Show HN: Minimal 3D creative coding tool – control 8×8×8 dots with JavaScript

#15
post #9

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. [1] https://www.instructables.com/Led-Cube-8x8x8/

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.

[1] https://www.kickstarter.com/projects/1202256831/lumicube-an-...

Re: Show HN: Minimal 3D creative coding tool – control 8×8×8 dots with JavaScript

#16
post #9

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. [1] https://www.instructables.com/Led-Cube-8x8x8/

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

I am happy that this great idea is so successfull! Congrats!

Re: Show HN: Minimal 3D creative coding tool – control 8×8×8 dots with JavaScript

#17

Earlier quoted context omitted.

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

I am happy that this great idea is so successfull! Congrats!

Thank you Draken93 :) It's been quite an experience, so exciting, and such a variety of skills to try and learn!

Re: Show HN: Minimal 3D creative coding tool – control 8×8×8 dots with JavaScript

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

Re: Show HN: Minimal 3D creative coding tool – control 8×8×8 dots with JavaScript

#19
post #18

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.

Also came here to make the same suggestion.

A configurable perspective transform would be brilliant.

Re: Show HN: Minimal 3D creative coding tool – control 8×8×8 dots with JavaScript

#20
post #5

I love this project. but also, if you are sensitive to flashing lights, this web page has 512 of them.

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.

Post reply on HN