Skip to content

antimodular/examples

Repository files navigation

Information

Aligning two vectors. The child vector gets transformed to point towards the mother vector.

Combine groups of 3 bits to 32 bit integers. This works even crossing in to the next integer.

Use a polar grid shader to warp a texture. Shader found here: https://www.shadertoy.com/view/MsBSRm

Set the pan and tilt angle of an ofNode. This simulates a pan/tilt search light.

Sphere intersection

Get the intersection circle between spheres. https://github.com/antimodular/examples/tree/master/sphere_sphere_intersection