Over a weekend about a decade ago, I toyed with making a Final Fantasy Tactics-like game in the browser using CSS for the renderer. I could not get it to work in the time I gave it. I realized too late I needed to make some abstractions and stop trying to manipulate CSS directly.
Which is a long way of saying I appreciate how challenging this probably was to figure out. I love stuff like this.
The per-polygon DOM events are what make this more than a trick. Getting click handlers on individual faces in WebGL means raycasting. Here it's just onClick. For certain use cases that's the whole argument.
12 comments
[ 0.24 ms ] story [ 42.2 ms ] threadhttps://polycss.com/gallery/?model=2843066616
https://threejs.org/examples/#webgl_animation_multiple
Would you recommend this for hacking around or not?
Which is a long way of saying I appreciate how challenging this probably was to figure out. I love stuff like this.