5 ms·
Rotating 3D Cube in JavaScript
- kwamenum86 18y agoSimply awesome. All powered by a single nested for loop and a bit of linear algebra.
- jwilliams 18y agoYeah - it's a surprisingly compact bit of code.
- Dilpil 18y agoPerfect? no. Awesome? yes.
- kwamenum86 18y agoHere is another cool one: http://maettig.com/code/javascript/divo.html http://maettig.com/code/javascript/divo.html Then a bunch more here: http://maettig.com/code/javascript/ http://maettig.com/code/javascript/
- lpgauth 18y agohttp://maettig.com/code/javascript/swirl.html http://maettig.com/code/javascript/swirl.html
- tlrobinson 18y agohttp://tlrobinson.net/misc/3d.html http://tlrobinson.net/misc/3d.html
- ram1024 18y agoheh the lens seems a bit fisheyed to me in the render. but still pretty cool [oh i get it, it's like psuedo-3D, nice]
- axod 18y agoDoes anyone else get some font artifacts left on the screen in safari? http://uploads.mibbit.com/up/hzVcXcFN.png http://uploads.mibbit.com/up/hzVcXcFN.png See the red dots... That's not good.
- ObieJazz 18y agoUp and down are switched. No wait, now left and right are switched! No, now it's up and down again...! (brain explodes)
- DLWormwood 18y agoWow, I got flashbacks to an early PowerPC Mac app called Rotater... http://casr.adelaide.edu.au/rotater/ http://casr.adelaide.edu.au/rotater/ Egad! There's a OS X version?!? I would have thought that this app would have been passe with modern 3-D hardware, but the developer's still maintaining it...
- drawkbox 18y agohttp://maettig.com/code/javascript/asciifire.html http://maettig.com/code/javascript/asciifire.html ASCII demo love