shapeField.svgLifted3d
An SVG outline lifted into a 3D solid, rotated by the shape's live rotation.
shapeField.svgLifted3d(layout: RotatedFieldLayout, baked: ShapeField3): ShapeField3
Import sim from shaders/std and use sim.shapeFields.shapeField.svgLifted3d.
Parameters
| Name | Type | Notes |
|---|---|---|
layout | RotatedFieldLayout | |
baked | ShapeField3 |
Example
shapeField.svgLifted3d(setup3d.layout, setup3d.sdfFn as ShapeField3)
See also
shapeField.svgExtruded— An SVG outline given depth: the outline's distance texture, extruded in z byparams.halfDepth.shapeField.analytic3d— A true 3D solid (sphere, torus, knot…) from its baked distance function, rotated by the shape's live rotation so the swarm follows the surface as it turns.