Search
Vector Shenanigans
Last updated
Jul 4, 2023
Edit Source
# Vector Flow on Objects
// point wrangle
1
2
3
4
5
6
| vector pos = v@P * chf("scale");
vector dir = curlnoise2d(pos + @Time * chf("time"));
matrix3 mat = dihedral(set(0,0,1), v@N);
dir *= mat;
v@v = dir;
|