This is awesome. My current hobby project is getting 3D SDF meshing good enough so that I can use them instead of building out of meshes. I’m starting from marching triangles but it’s very much an open problem. Everything in JS, with the goal of building models in JS.
Unsolicited feedback: I think if rotation decelerated quickly to no velocity instead of instantly stopping when you let go, it would feel more natural.
I found this article also interesting (I believe also from the author, but correct me if I'm wrong):
https://cprimozic.net/blog/the-tech-behind-geotoy/#overview
This is awesome. My current hobby project is getting 3D SDF meshing good enough so that I can use them instead of building out of meshes. I’m starting from marching triangles but it’s very much an open problem. Everything in JS, with the goal of building models in JS.
Looks kinda like Rust? How similar is this to geometry shaders?
Quite different, but also geometry shaders have fallen from grace for quite awhile because it turned out to be practically impossible to optimize them
Help me understand what this is - so it's like Shadertoy but no animation?
it's like a scripting language for 3D models (could call it a DSL, I guess).
Look at the "temple"-example, there it is easier to reason about than the more abstract objects:
https://3d.ameo.design/geotoy/edit/39
Is it possible to create animations using something like Shadertoy's `iTime`?
Unsolicited feedback: I think if rotation decelerated quickly to no velocity instead of instantly stopping when you let go, it would feel more natural.
This is cool! @OP, are you the creator of Geoscript? I've never heard about this anywhere else before.
This wowed me in the same way when I saw GLSL for the first time. What is Geoscript??? I love this.
This runs a lot smoother than shadertoy does for me.
How is the material defined?
It's not done via code, you can find the materials in the burger menu, top right corner of the console, in bottom right screen corner.
The article I linked in another post here describes that it's all done with triplanar mapping, so no UV's involved.
Now we just need Rigtoy, Animtoy and Rendertoy and we'll be able to make beautiful 3D animations in the browser
Have you heard about cables.gl or tooll3? Those have quite impressive end to end motion graphics capabilities.
I already built rendertoy a rendering engine to make hd videos from the browser.
https://www.youtube.com/@rendertoy4656
this website still uses shaders its just a button called materials after clicking the 3 bars in the bottom right of the screen