# wewell-29/scslai architecture

> Architecture diagram of the GitHub repository wewell-29/scslai, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/wewell-29/scslai
- Repository: https://github.com/wewell-29/scslai

## Overview

This is the SCSLAI public website: visitors browse organizational information and yearbooks, use interactive features, and fill out downloadable membership, loan, and other forms. The form engine handles form behavior and PDF-oriented output; other major capabilities include event albums, loan calculators, a Facebook Live widget, anniversary games, and loading/book-opening effects. Source excerpts show only some cross-module wiring, so several relationships are intentionally omitted rather than inferred.

Main entry points: [`FRONT/script.js`](https://github.com/wewell-29/scslai/blob/main/FRONT/script.js) (Site interactions), [`FRONT/loading/coin-loader.js`](https://github.com/wewell-29/scslai/blob/main/FRONT/loading/coin-loader.js) (Loading effects), [`FRONT/FORMS/engine.js`](https://github.com/wewell-29/scslai/blob/main/FRONT/FORMS/engine.js) (Form engine), [`FRONT/index.html`](https://github.com/wewell-29/scslai/blob/main/FRONT/index.html) (Site content)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Public site"]
  node_sitecontent["Site content<br/>[index.html]"]
  node_sitebehavior["Site interactions<br/>[script.js]"]
  node_reports["Annual reports"]
  node_about["About pages<br/>[about-history.html]"]
end

subgraph group_forms["Form workflows"]
  node_formpages["Form pages"]
  node_formengine["Form engine<br/>[engine.js]"]
  node_loanconfigs["Loan form configs<br/>[form.js]"]
  node_memberconfigs["Membership configs<br/>[form.js]"]
  node_otherconfigs["Other form configs<br/>[form.js]"]
end

subgraph group_engagement["Interactive features"]
  node_yearbook["Yearbook reader<br/>[script.js]"]
  node_albums["Event albums<br/>[events-albums.js]"]
  node_calculator["Loan calculator<br/>[script.js]"]
  node_liveconfig["Live configuration"]
  node_livewidget["Facebook Live widget<br/>[facebook-live.js]"]
  node_gamecontrol["Game selection<br/>[game-control.js]"]
  node_gamewatch["Game progress<br/>[game-watch.js]"]
  node_stargame["Star hunt<br/>[star-game.js]"]
  node_heartgame["Heart hunt<br/>[heart-game.js]"]
end

subgraph group_experience["Shared experience"]
  node_bookanimation["Book opening<br/>[book-animation.js]"]
  node_loader["Loading effects<br/>[coin-loader.js]"]
end

node_visitor(("Visitor"))

node_visitor -->|"browses"| node_sitecontent
node_formengine -->|"uses loading effects"| node_loader
node_sitebehavior -->|"opens yearbook"| node_bookanimation
node_sitebehavior -->|"shows loading"| node_loader

click node_sitecontent "https://github.com/wewell-29/scslai/blob/main/FRONT/index.html"
click node_sitebehavior "https://github.com/wewell-29/scslai/blob/main/FRONT/script.js"
click node_reports "https://github.com/wewell-29/scslai/tree/main/FRONT/reports"
click node_about "https://github.com/wewell-29/scslai/blob/main/FRONT/about-history.html"
click node_formpages "https://github.com/wewell-29/scslai/tree/main/FRONT/FORMS"
click node_formengine "https://github.com/wewell-29/scslai/blob/main/FRONT/FORMS/engine.js"
click node_loanconfigs "https://github.com/wewell-29/scslai/blob/main/FRONT/FORMS/sc/form.js"
click node_memberconfigs "https://github.com/wewell-29/scslai/blob/main/FRONT/FORMS/membershipLc/form.js"
click node_otherconfigs "https://github.com/wewell-29/scslai/blob/main/FRONT/FORMS/readmission/form.js"
click node_yearbook "https://github.com/wewell-29/scslai/blob/main/FRONT/script.js"
click node_albums "https://github.com/wewell-29/scslai/blob/main/FRONT/events-albums.js"
click node_calculator "https://github.com/wewell-29/scslai/blob/main/FRONT/script.js"
click node_liveconfig "https://github.com/wewell-29/scslai/blob/main/FRONT/facebook-live-config.js"
click node_livewidget "https://github.com/wewell-29/scslai/blob/main/FRONT/facebook-live.js"
click node_gamecontrol "https://github.com/wewell-29/scslai/blob/main/FRONT/Games/game-control.js"
click node_gamewatch "https://github.com/wewell-29/scslai/blob/main/FRONT/Games/game-watch.js"
click node_stargame "https://github.com/wewell-29/scslai/blob/main/FRONT/Games/star-game.js"
click node_heartgame "https://github.com/wewell-29/scslai/blob/main/FRONT/Games/heart-game.js"
click node_bookanimation "https://github.com/wewell-29/scslai/blob/main/FRONT/animation/book-animation.js"
click node_loader "https://github.com/wewell-29/scslai/blob/main/FRONT/loading/coin-loader.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_sitecontent,node_sitebehavior,node_reports,node_about toneBlue
class node_formpages,node_formengine,node_loanconfigs,node_memberconfigs,node_otherconfigs toneAmber
class node_yearbook,node_albums,node_calculator,node_liveconfig,node_livewidget,node_gamecontrol,node_gamewatch,node_stargame,node_heartgame toneMint
class node_bookanimation,node_loader toneRose
class node_visitor toneIndigo
```

## Components

### Public site

- [Site content](https://github.com/wewell-29/scslai/blob/main/FRONT/index.html): `FRONT/index.html`
- [Site interactions](https://github.com/wewell-29/scslai/blob/main/FRONT/script.js): `FRONT/script.js`
- [Annual reports](https://github.com/wewell-29/scslai/tree/main/FRONT/reports): `FRONT/reports`
- [About pages](https://github.com/wewell-29/scslai/blob/main/FRONT/about-history.html): `FRONT/about-history.html`

### Form workflows

- [Form pages](https://github.com/wewell-29/scslai/tree/main/FRONT/FORMS): `FRONT/FORMS`
- [Form engine](https://github.com/wewell-29/scslai/blob/main/FRONT/FORMS/engine.js): `FRONT/FORMS/engine.js`
- [Loan form configs](https://github.com/wewell-29/scslai/blob/main/FRONT/FORMS/sc/form.js): `FRONT/FORMS/sc/form.js`
- [Membership configs](https://github.com/wewell-29/scslai/blob/main/FRONT/FORMS/membershipLc/form.js): `FRONT/FORMS/membershipLc/form.js`
- [Other form configs](https://github.com/wewell-29/scslai/blob/main/FRONT/FORMS/readmission/form.js): `FRONT/FORMS/readmission/form.js`

### Interactive features

- [Yearbook reader](https://github.com/wewell-29/scslai/blob/main/FRONT/script.js): `FRONT/script.js`
- [Event albums](https://github.com/wewell-29/scslai/blob/main/FRONT/events-albums.js): `FRONT/events-albums.js`
- [Loan calculator](https://github.com/wewell-29/scslai/blob/main/FRONT/script.js): `FRONT/script.js`
- [Live configuration](https://github.com/wewell-29/scslai/blob/main/FRONT/facebook-live-config.js): `FRONT/facebook-live-config.js`
- [Facebook Live widget](https://github.com/wewell-29/scslai/blob/main/FRONT/facebook-live.js): `FRONT/facebook-live.js`
- [Game selection](https://github.com/wewell-29/scslai/blob/main/FRONT/Games/game-control.js): `FRONT/Games/game-control.js`
- [Game progress](https://github.com/wewell-29/scslai/blob/main/FRONT/Games/game-watch.js): `FRONT/Games/game-watch.js`
- [Star hunt](https://github.com/wewell-29/scslai/blob/main/FRONT/Games/star-game.js): `FRONT/Games/star-game.js`
- [Heart hunt](https://github.com/wewell-29/scslai/blob/main/FRONT/Games/heart-game.js): `FRONT/Games/heart-game.js`

### Shared experience

- [Book opening](https://github.com/wewell-29/scslai/blob/main/FRONT/animation/book-animation.js): `FRONT/animation/book-animation.js`
- [Loading effects](https://github.com/wewell-29/scslai/blob/main/FRONT/loading/coin-loader.js): `FRONT/loading/coin-loader.js`

### Other components

- **Visitor**

## Connections

- Visitor → Site content: browses
- Form engine → Loading effects: uses loading effects (evidence: `FRONT/loading/coin-loader.js`)
- Site interactions → Book opening: opens yearbook (evidence: `FRONT/animation/book-animation.js`)
- Site interactions → Loading effects: shows loading (evidence: `FRONT/loading/coin-loader.js`)
