TypologySienna Chen
LookLightweight

Point clouds

Millions of dots from a 3D scan.

Millions of tiny dots with no surface between them, usually from a 3D scan. The result reads as something real that was scanned: a room, a street, a face. Big files to load, cheap to draw.

Breaks when
size attenuation looks wrong without DPR carehuge files to load
Also called
THREE.Points, PCD/PLY, static particles

Prompts

Scanned room, slow orbit
Load a PLY point cloud (positions + colors, ~2M points) with PLYLoader into THREE.Points with a custom ShaderMaterial: point size = 2.0 × devicePixelRatio × (1 / −mvPosition.z), rounded points via discard outside a circle in the fragment shader, color desaturated 40% toward ink. Center and scale the cloud to a 4-unit box. Camera orbits at 0.05 rad/s around the room center; the pointer nudges it ±0.2 rad. Load with a progress bar and drop to every 4th point on devices with fewer than 4 GB of memory.
Mesh becomes points on scroll
A glTF model rendered as a mesh at the top of the page; as the section scrolls, cross-fade to the same geometry’s vertices drawn as Points (MeshSurfaceSampler with 200,000 samples), then scatter them along their normals by scroll progress × 0.6 with per-point noise. Keep both objects in one scene and control the mix with a uniform.
Scan sweep reveal
Given a point cloud, reveal it with a scan plane: a plane sweeps along the z-axis over 3 s; points within 0.1 units of the plane render in yolk at 2× size, points behind it in ink, points ahead invisible. All in the vertex shader from a single uniform uScanZ. Loop with a 1 s hold at the end.

Related

Resources · 2