Generating Stunning Point Cloud Geometry with Signed Distance Functions
2025-03-29

This article introduces a creative coding technique for generating point cloud geometry using signed distance functions (SDFs). The author uses the example of particles colliding with spheres to explain how SDFs can efficiently detect collisions and extend to more complex shapes. The article provides Processing code examples, including classes like Point, Vector, Ray, and Tracer, and SDF implementations like SphereSDF and BoxSDF, demonstrating how to use SDFs for sphere tracing to generate beautiful point cloud images.