wireframes.shapes.curved-solids documentation

get-centroid

(get-centroid shape vertices scale)

get-midpoint

(get-midpoint shape vertices)

intervals->radians

make-bezier-spline

(make-bezier-spline control-points n)

make-circle

(make-circle r n)
Approximate a circle in the X-Y plane around the origin wth radius r and n points

make-cone

(make-cone r n h)

make-cylinder

(make-cylinder r n h)

make-isosphere

(make-isosphere r iterations)
Create an isosahedron iterated a number of times with radius r

make-klein-bagel

(make-klein-bagel r divisions)

make-klein-bottle

(make-klein-bottle length loop width divisions)

make-mobius-strip

(make-mobius-strip x-divisions y-divisions)

make-sphere

(make-sphere r n)
Approximate a sphere at the origin wth radius r and n points

make-star

(make-star r1 r2 n)

make-torus

(make-torus r1 r2 n1 n2)
Approximate a torus with major radius r2 and minor radius r1,
with correspondingly n2 and n1 points around each axis.

make-wineglass

(make-wineglass n)

split-faces

(split-faces shape scale)

split-triangle

(split-triangle shape scale face-index)

two-π

π