Remix.run Logo
Show HN: VoxCSS – A DOM based voxel engine(github.com)
51 points by rofko 8 days ago | 5 comments
chrismorgan 18 hours ago | parent | next [-]

Very little 3D stuff on the web involves less than a couple of megabytes of JavaScript. The “hello world” of Three.js results in a bundle size of almost half a megabyte (484 kB, 122 kB gzipped), and it used to be a lot bigger—it’s been a hard slog for them to get it even that low. You just can’t seem to do much with WebGL without spending a few hundred kilobytes of code. The “hello world” of VoxCSS is just under 40 kB (12 kB gzipped). No idea if any effort has gone into shrinking it.

juan2cruz 20 hours ago | parent | prev | next [-]

i love that this exists… before this, probably nobody had really done something quite like it, and now is there

the api feels super natural, it’s easy to set up, and for small voxel scenes it looks perfect for landing art or little ui animations… all without touching any heavy 3d / webgl stuff

it’s niche, it’s stylish, and i’d totally use it… congrats on the idea man

Bolwin 21 hours ago | parent | prev | next [-]

Is this.. actually performant?

It sounds like one of those stupid but fun side projects, but there seem to be real apps using it.

superb_dev 20 hours ago | parent [-]

There are some example apps at the bottom of their homepage: https://voxcss.com/

Rotating a scene felt really snappy on my iPhone, I think it’s performance is great

52-6F-62 19 hours ago | parent | prev [-]

This is really impressive