Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Rotating 3D Cube in JavaScript (maettig.com)
24 points by denglish on Oct 20, 2008 | hide | past | favorite | 11 comments





Simply awesome. All powered by a single nested for loop and a bit of linear algebra.


Yeah - it's a surprisingly compact bit of code.


Does anyone else get some font artifacts left on the screen in safari?

http://uploads.mibbit.com/up/hzVcXcFN.png

See the red dots... That's not good.


Wow, I got flashbacks to an early PowerPC Mac app called 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...



Up and down are switched. No wait, now left and right are switched! No, now it's up and down again...! (brain explodes)


Perfect? no. Awesome? yes.


heh 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]




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: