Smooth forms for the skier: rounded limbs, a domed helmet, and a ski
swept along its own rockered, sidecut profile.
limb(b: ?, length: number, rTop: number, rMid: number, rBot: number, colour: ?, sides: number?) → void
A limb: a tube whose radius follows a profile from end to end, so it
swells at the muscle and narrows at the joint instead of being a cylinder.
Runs from the origin DOWN its own -Y, the direction a joint hangs.
| arg | type | description |
|---|
| b | ? | |
| length | number | |
| rTop | number | |
| rMid | number | |
| rBot | number | |
| colour | ? | |
| sides | number? | |
radius(t: number) → number
| arg | type | description |
|---|
| t | number | |
dome(b: ?, centre: ?, radius: number, colour: ?, sides: number?) → void
A dome — a helmet, a shoulder, a knee cap. Rings of decreasing radius
over a hemisphere, which reads round where a box reads carved.
| arg | type | description |
|---|
| b | ? | |
| centre | ? | |
| radius | number | |
| colour | ? | |
| sides | number? | |
body(b: ?, centre: ?, height: number, halfWidth: number, colour: ?, sides: number?) → void
A rounded body: a stack of rings whose radius follows a profile, giving
a torso with shoulders and a waist rather than a slab.
| arg | type | description |
|---|
| b | ? | |
| centre | ? | |
| height | number | |
| halfWidth | number | |
| colour | ? | |
| sides | number? | |
radius(t: number) → number
| arg | type | description |
|---|
| t | number | |
ski(b: ?, spec: ?, colour: ?, edgeColour: ?) → void
One ski, swept along -Z: sidecut narrows it under the boot, and both
ends rocker up off the snow. Emitted as short flat tubes so the edges read
as a rounded rail rather than a plank's corner.
| arg | type | description |
|---|
| b | ? | |
| spec | ? | |
| colour | ? | |
| edgeColour | ? | |
shape(t: number) → void
| arg | type | description |
|---|
| t | number | |
pole(b: ?, spec: ?, colour: ?) → void
A pole: a thin shaft with a basket near its tip, hanging down -Y.
| arg | type | description |
|---|
| b | ? | |
| spec | ? | |
| colour | ? | |