Reference · Facts, line drawings and positions
drawnTiltfunction
The tilt a drawing shows for a body: its obliquity, turned past 120 degrees to the other side (Venus is nearly upside down, so it is drawn nearly upright).
Import it
import { drawnTilt } from "@johnmorrisdotca/wakusei-planets";
Definition
function drawnTilt(facts: BodyFacts): number
Parameters
| Name | Type | Description |
|---|---|---|
facts | BodyFacts | A body's facts. |
Returns
number
The tilt in degrees to lean the drawing by.
Examples
import { BODIES, drawnTilt } from "@johnmorrisdotca/wakusei-planets";
console.log(drawnTilt(BODIES.uranus), drawnTilt(BODIES.venus).toFixed(2));97.77 -2.64What it prints (run when this page was built)