5 ms·
I'm assuming it's the render engine that is in pure CSS. You could display a static map in CSS but things like the tools to modify the terrain definitely need J
by arbll 11mo ago
I'm assuming it's the render engine that is in pure CSS. You could display a static map in CSS but things like the tools to modify the terrain definitely need JS.
- psygn89 11mo agoYou might not need it using the new :has() and different inputs as modifiers. Though that's a lot of :has() and probably would kill performance.
- nightpool 11mo agoGP linked an example of a similar project that allowed you to modify the terrain without any JS at all
- thih9 11mo agoI wanted to check if your assumption is correct but I couldn’t find the source code. Why do you think the renderer is pure css and not e.g. mostly css?
- embedding-shape 11mo agoThe top right button has a "Download code" which gives you a .zip file. That .zip file doesn't have any JS in it, and renders the terrain just like in the online editor, except you can turn off JS and it still works. Edit: someone else wrote basically the same an hour ago: https://news.ycombinator.com/item?id=45814791 https://news.ycombinator.com/item?id=45814791
- thih9 11mo agoLooks like it’s a “(css-only terrain) generator” - a generator that lets the user create and download a css only terrain. As opposed to a “css-only (terrain generator)” - a terrain creation studio built with css only.