05
// PORTFOLIO — 05

AS_DaylightMap

Reads a room's real site location and true north to render a browser heat-map of daylight reach, ray-casting real obstructions and scoring BRE / BS 8206-2 compliance.

AS Tools — Sustainability
Role
Concept, Algorithm & Build
Stack
Revit API · Ray-cast · Canvas JS
Status
Live — Internal Production
Year
2026
Configure & Analyse — hub.xaml Revit
01
Choose what to analyse
Selected room(s), a level, or the whole model, in one report.
02
Configure the run
Grid quality, work-plane height, sun preset — or annual/seasonal mode.
03
Read geometry & obstruction
Rooms + windows, host and linked; ray-casts real obstruction.
04
Score the daylight field
BRE Average Daylight Factor and BS 8206-2 PASS/FAIL, per room.
4b
Annual / seasonal (optional)
Cumulative sun-hours + per-season direct-sun maps.
Output
Self-contained HTML report — heat-map(s), ranked table, viridis palette, CSV export. Read-only.
Daylight Heat-map Report — report.html Generated
Average Daylight Factor
2.34%
BS 8206-2 Target
1.5%
Result
PASS
Floor ≥ Target
78%
Palette: Warm
Contours: Off
Export CSV
BetterPoorer
Window
Glazed panel
No sky line
RoomADF %Target %Result
02 — Bedroom 10.621.0Fail
05 — Kitchen1.712.0Fail
01 — Living / Dining2.341.5Pass
07 — Study3.022.0Pass
// The Problem

Daylight compliance was either outsourced to a consultant or skipped entirely at early stages, with no quick way to see which rooms were under-lit before drawings went out.

// My Contribution

Built the full geometric pipeline: real site location and true north for a geographically-correct sun, ray-casting external obstructions, scoring a floor grid against BRE / BS 8206-2, rendered as a self-contained offline HTML report.