News for hackers. Stuff that matters.

nopjia

Re:Show HN: WebGL Rubik's Snake on Saturday September 12, 2020 @01:50AM (#24450176)
Hello HN!

I finally finished my quarantine project. It's a tribute to a classic toy I grew up with, the Rubik's Snake!

I made an interactive 3D model of the snake that you can play with. Use the arrow buttons to navigate and rotate each block. (You can also use arrow keys on your keyboard.) Once you made a shape, you can hit the camera button to submit and it will appear in the gallery. It will also save your shape to the URL so you can share the custom link. I look forward to seeing what you guys come up with!

Would love to hear any comments or feedback! Thanks!

Re:WebGL: 80.000 particles on Tuesday April 07, 2015 @11:24PM (#9338643)
Re:WebGL: 80.000 particles on Tuesday April 07, 2015 @11:23PM (#9338640)
CPU has little to do with it, since most of the heavy lifting is done by the GPU. Maybe that integrated chip isn't enough.
Re:WebGL: 80.000 particles on Tuesday April 07, 2015 @01:39PM (#9335685)
here's one with 1 million particles done in vanilla WebGL

http://www.iamnop.com/particles-mrt/

(it's a little unstable since it uses WEBGL_draw_buffers)

Re:Real Time Multiplayer in HTML5 on Thursday July 19, 2012 @05:22PM (#4268128)
Looks like this is already happening: http://www.webgl.com/2012/06/webgl-game-cloud-party/