Skip to content

v1.5.0 — Save / Open project files + footer disclaimer

Choose a tag to compare

@ProfRino ProfRino released this 27 Jun 07:11
· 13 commits to main since this release

Two new features in v1.5.0.

Save / Open project files

Two new header buttons — Save and Open — sit between 3D density and About. They round-trip the full state to a plain JSON file:

  • Save → downloads `crowd-count-.json` with all zones (including shape, params, vertices, obstructions, density), the current view, basemap, and governing standard. The format is human-readable (2-space indented JSON) so files can be emailed, version-controlled, or hand-edited.
  • Open → file picker → parses the JSON → replaces the in-memory state. Any stale permalink hash in the URL is cleared so the file takes precedence.
  • Bad files surface an inline error banner: `Not valid JSON`, `Not a Crowd Count project file`, `Project file uses format version N — this build understands up to M`, or `missing required fields`.

This complements (but doesn't replace) the existing Copy share link — that one still encodes state into the URL fragment for instant sharing. Project files are the better option when you want a portable artefact you can keep, archive, or send by email.

Footer disclaimer

A persistent line below the bottom result bar reads:

Estimate only — verify with a qualified safety professional. Not for life-safety, design, or regulatory use. (more)

Clicking (more) expands the full text — explicit list of factors the tool does not model (flow direction, exits, surface conditions, group behaviour, weather, etc.) plus the MIT "as is" clause. Always visible, no longer buried inside the About panel.

Bundle

`crowd-count.html` single-file: 1.79 MB (gzip 484 kB).