Choose a simple house convention
Twelve equal pieces can divide a circle, but we still have to decide where the first piece begins. A house convention makes that choice for a chart. We will construct the Equal cusp list, then move the first boundary to the beginning of the Ascendant’s sign for Whole Sign houses.
Before this lesson
Read “Find the horizon and meridian angles.” Keep the Ascendant and midheaven as distinct longitudes. All examples here use invented angles and teach chart conventions, rather than claims about their interpretation.
What you will learn
Calculate any Equal cusp, keep house numbering separate from array indexing, and construct Whole Sign boundaries for twelve equal zodiac signs.
Dotted-underlined terms open a definition beside the text. Select one to read more, then close it to continue.
Each step has its own check. Pass every step to complete the lesson. Your answers and checked steps are saved in this browser, so you can continue after leaving or reloading.
1. Begin twelve equal intervals at the Ascendant
Imagine marking a circular dial every 30°. Twelve marks return you to the first because 12 × 30° = 360°. In the Equal convention implemented here, the first mark is the Ascendant. A house cusp is a boundary longitude; the twelve boundaries describe twelve equal intervals around the ecliptic. This division is an astrological convention applied after the astronomical directions have been calculated.
Use an invented Ascendant of 350°. The first three boundaries are 350°, 380° and 410° before wrapping. Subtracting a full turn from the last two gives 350°, 20° and 50°. The circle has not reversed direction at zero: the second boundary is still 30° beyond the first.
cusp h = wrap(Asc + (h − 1) × 30°), for house h = 1, …, 12
Here Asc is a longitude in degrees and wrap removes complete turns. House numbers begin at one, whereas the array index n in equal_cusps begins at zero. For house 10, n = 9, so the offset is 270°, not 300°. The complete list for Asc = 350° is [350, 20, 50, 80, 110, 140, 170, 200, 230, 260, 290, 320] degrees.
The supplied midheaven does not enter this formula. If our invented MC is 80°, the tenth Equal cusp is still 260°. house_set retains both the separate MC and the cusp array; it does not move a boundary to force MC onto house 10. The next lesson will introduce a convention that anchors the tenth cusp at MC.
Where the convention fits
Swiss Ephemeris documents several Equal variants. This engine uses the variant beginning at the Ascendant. The reference establishes that convention, but does not establish an original inventor for this repository’s helper; no inventor is assumed.
Once Equal is selected, the low-level house_set helper returns Some containing twelve values. The public calculate_chart function expresses those boundaries in the selected zodiac reference and returns a fixed twelve-element cusp array. Latitude and time have already helped produce the Ascendant, but equal_cusps needs only that longitude. Changing the house choice therefore changes the subdivision without resampling the planetary positions.
See the teaching TypeScript
const wrap = (x: number): number => { const r = x % 360; return r < 0 ? r + 360 : r; };
const equalCusps = (ascendant: number): number[] =>
Array.from({ length: 12 }, (_, n) => wrap(ascendant + n * 30));Finite, correctly labeled inputs are assumed. This demonstrates the arithmetic; it does not fetch data or replace the engine.
Connect this step to the source
src/astro/houses.rs
equal_cusps; house_set
Paths refer to the astrology-engine repository. Examples use invented inputs; a successful exercise is not an astronomical-accuracy test.
Sources for this section
Apply this step
Answer every part, then check. You can retry as often as you like.
2. Begin at the edge of the rising sign
Equal houses follow the exact Ascendant degree. Whole Sign convention instead associates the first house with the entire zodiac sign containing that direction. A sign here is one of twelve 30° zodiac sectors; it is not a constellation with an irregular sky boundary. We keep the equal sign divisions explicit in the chart’s zodiac configuration.
Take the same invented Asc = 350° and MC = 80°, expressed in the selected zodiac reference. The Ascendant lies in the sign beginning at 330°. That sign’s beginning becomes cusp 1; the next sign begins at 0°, so cusp 2 is 0°. Continuing in 30° steps gives [330, 0, 30, 60, 90, 120, 150, 180, 210, 240, 270, 300] degrees. The first boundary has moved from the exact rising degree to the edge of its sign.
first cusp = floor(wrap(Asc) / 30°) × 30°
cusp h = wrap(first cusp + (h − 1) × 30°), for house h = 1, …, 12
The public calculate_chart function calls whole_sign_cusps and returns twelve boundaries for this choice, including for a tropical chart. It also returns house_sectors describing the sign sectors used for houses. These boundaries do not assign a house number to each planet: the bodies list supplies longitudes and sign positions, and an application can use the boundaries to make house assignments.
A lower-level helper still has a different representation: house_set’s WholeSign branch returns cusps: None. The public chart pipeline does not use that branch to construct Whole Sign houses. It builds the boundaries from the selected zodiac instead. Reading the helper alone therefore does not tell us what the public chart returns.
A convention with a longer history
Swiss Ephemeris records Whole Sign use in Hellenistic and Hindu astrology. That provides context for the name. The explicit cusp array and sector metadata are this engine’s interface choices.
Connect this step to the source
src/chart.rs; src/conventions.rs
calculate_chart; whole_sign_cusps
Paths refer to the astrology-engine repository. Examples use invented inputs; a successful exercise is not an astronomical-accuracy test.
Sources for this section
Apply this step
Answer every part, then check. You can retry as often as you like.
Your lesson checks
0 of 2 steps passed.
Use the feedback beside each check to retry any unfinished step.