Skip to main content
100%

Gist e783e9e7df0dc768c4e7a8bc773de936

✓ Published0🌍 Public
Aandybak
Last edited Feb 11, 2021
Created on Feb 11, 2021

This example demonstrates a Tilt Brush tool that generates polyhedral brush strokes in virtual reality. It shows how a Conway polyhedron’s faces are converted into stroke control points and drawn as colored line segments. The code uses PolyhydraBrushHelper to generate the geometry, then iterates over each face’s halfedges to build control points with position, orientation, and pressure data. Strokes are created via the Stroke class and memorized in SketchMemoryScript, with face colors applied from polyHelper.GetFaceColor().

AI-generated description

Similar vizzes