Loading video...

Video Failed to Load

Go Home

More Math to Shaders!! Visualize(and edit) both the code and the visuals instantly. Now with data types and control flow, we can create function nodes with multi-line math to code. Here's SDFs for Box, Sphere, Torus and Plane in maths straight from iq's blog All in a browser!

27,945 views • 2 years ago •via X (Twitter)

9 Comments

Jonathan Chemla's profile picture
Jonathan Chemla2 years ago

Math expressions in shader node editors makes so much sense, will this editor be released/open at some point?

Palash Bansal's profile picture
Palash Bansal2 years ago

Yes only a few things are left to add, will release it soon.

Anon 2.0's profile picture
Anon 2.02 years ago

bro this whole thing is crazyyyy

ponzS's profile picture
ponzS2 years ago

I've become a fan of yours and hope there will be tutorials or instructional videos available after the release.

Cheng Lou's profile picture
Cheng Lou2 years ago

Nice! Related:

Palash Bansal's profile picture
Palash Bansal2 years ago

Oh that's pretty cool. Nice notation for vector also, was thinking how to do that. Also wondering how Indexing would work there.

TyroneCa$hMuny 💎's profile picture
TyroneCa$hMuny 💎2 years ago

I have no idea whats going on here but it def. looks cool

usr's profile picture
usr2 years ago

What tool is this?

kielka's profile picture
kielka2 years ago

yooo thats amazing

Related Videos

We are announcing our newest initiative: an interactive math engine by isaacmason. Math is core to everything interactive from geometry to collision to color, yet JavaScript lacks a high-performance kernel. Instead libraries reinvent math structures and transformations, with varying success, and now LLMs generate bespoke functions on a case by case basis. The problem is that there are no principled guarantees for correctness or performance leading to degraded apps or difficult to read code. We need math engine that can be used to power all the cool projects people want to make at scale! The goals of the initiative are ambitious: ⟡ Predictable performance. Allocation-free operations and a documented usage contract designed to preserve monomorphic, optimizable call sites, validated through reproducible benchmarks. ⟡ Portable. Efficiently interoperates with WebGL, WebGPU, Wasm, Three.js, etc., so that the handoff between math kernel and framework is simple. ⟡ Minimal. A lean, tree-shakable kernel containing only the primitives needed to build interactive algorithms. ⟡ Data-oriented. Operates on caller-owned data through data-in, data-out functions without owning the data lifecycle. ⟡ Readability. It is important the core math operations readable such that even if the code is not written by a person they can reasonably review it. isaacmason is bringing his experience building out navcat, crashcat and gpucat. We are starting with mathcat as the foundation and building from there. Stay tuned for more. 👉 Initiative: 👉 Join the convo on Discord:

Poimandres

56,745 views • 1 month ago