Introducing Maath, a collection of math functions, helpers and recipes for creative development.
Sharing is caring, so I'm releasing early and will adjust based on feedback ✌️
maath.pmnd.rs
Trying to get the dust off my brain with some work on octahedral imposters.
based on: shaderbits.com/blog/octahedra…
Next should be blending because otherwise it looks silly.
#threejs
Applying dietsprite to a generated octahedral impostor to reduce overdraw, will have to test with a bunch of instances to see how much impact this has
#threejs
Evening progress, added code generation to quickly bring the results into three.js.
Also used way too much code to auto-detect the size of the atlas grid (signal processing ftw)
#threejs
I'm not sure what I'm gonna do with this, but I kinda want to experiment with multi-touch controls 🤔
messy code 🤌 codesandbox.io/s/multitouch-k… (try it on iPad/multitouch device)
Exploring a node interface, here being used to generate a displacement map.
The challenge is making it generic enough, but even this vertical version is pretty fun to play with.
Next up, I should render the actual lines between connected nodes
#r3f#threejs
Somebody asked on Discord how to distribute instances on the surface of a sphere.
v1. get the vertices of an octahedron
v2. Fibonacci lattice
code 👉 codesandbox.io/s/k7kng#r3f#threejs
Today I glanced at the @vercel dashboard for @pmndrs and I'm so grateful that they gave us the opportunity to host all of these apps and docs and let us work like a professional team, even as an unfinanced small OSS organization 🙏