Documentation / @interstellar-tools/types / DisplayGalaxyInterface
Interface: DisplayGalaxyInterface
Defined in: celestial-bodies/display.ts:389
How to draw a galaxy.
Properties
armCount
armCount: number;Defined in: celestial-bodies/display.ts:399
How many spiral arms; 0 for ellipticals and irregulars.
armPitch?
armPitch?: DegreesType;Defined in: celestial-bodies/display.ts:401
The arms' pitch angle: the smaller, the tighter they wind.
barLength?
barLength?: number;Defined in: celestial-bodies/display.ts:403
The bar's length, as a share of the disk's radius, 0–1.
bulgeColor
bulgeColor: string;Defined in: celestial-bodies/display.ts:391
The bulge's colour.
bulgeRadius?
bulgeRadius?: number;Defined in: celestial-bodies/display.ts:405
The bulge's radius, as a share of the disk's radius, 0–1.
diskColor
diskColor: string;Defined in: celestial-bodies/display.ts:393
The disk's colour.
dust?
dust?: number;Defined in: celestial-bodies/display.ts:409
How strong the dust lanes are, 0–1.
dustColor?
dustColor?: string;Defined in: celestial-bodies/display.ts:397
The colour of the dust lanes.
ellipticity?
ellipticity?: number;Defined in: celestial-bodies/display.ts:407
An elliptical's axis ratio, b/a, 0–1.
starFormingColor?
starFormingColor?: string;Defined in: celestial-bodies/display.ts:395
The colour of star-forming knots in the arms.