Notch trying jsFiddle
jsfiddle.net
Notch trying jsFiddle
1–10 of 143 posts
Re: Notch trying jsFiddle
#2Re: Notch trying jsFiddle
#3Re: Notch trying jsFiddle
#4Re: Notch trying jsFiddle
#5Can anyone explain how this works? I never have got to grips with 3D.
Re: Notch trying jsFiddle
#6And indeed it is pretty impressive how fast the rendering happens given that the code operates at such lower level... Even selecting the color of every pixel requires non trivial work in the inner loop.
AWESOME code.
Re: Notch trying jsFiddle
#7Can anyone explain how this works? I never have got to grips with 3D.
Looks like he's ray casting it, no 3D code implemented, just the illusion itself.
Re: Notch trying jsFiddle
#8Re: Notch trying jsFiddle
#9Awesome implementation, actually no advanced feature is used, this code could easily ported even to assembler in any device where you can set pixels in RGB format. And indeed it is pretty impressive how fast the rendering happens given that the code operates at such lower level... Even selecting the color of every pixel requires non trivial work in the inner loop. AWESOME code.
Re: Notch trying jsFiddle
#10Can anyone explain how this works? I never have got to grips with 3D.
What I meant to say is that it is using Canvas 2D, instead of Canvas 3D, also known as WebGl. Antirez gave a wonderful explanation above[1]:
And indeed it is pretty impressive how fast the rendering happens given that the code operates at such lower level... Even selecting the color of every pixel requires non trivial work in the inner loop