A research laboratory for visual language encoding.
Chromalect investigates whether writing can be made easier to learn by adding reversible, digital-only visual layers: stable colors for graphemes and reusable components, semantic families, compositional phonetic notation, tone and prosody marks, and optional mnemonic animation.
Status: the first Mainland Standard Mandarin simplified-Chinese tranche is source-aligned across all 1,000/1,000 characters (724 multicomponent, 276 atomic), with zero unmapped in the verified October 21, 2026 GitHub Pages build. The independent Rust pipeline renders the original Chinese Make Me a Hanzi outlines, assigns paths to documented component identities, and publishes reproducible per-glyph source evidence and diagnostics. The active additive v0.6 component palette has 520 identities; all 518 v0.5 identities and the immutable 513 v0.4 identities retain their original forms and colors. Full CI passes 48 Rust tests and an all-1,000-card catalog/Marker/Direct color audit. The live coverage JSON and evidence report document the verified coverage. Automated geometry correspondence remains pending independent visual/linguistic review. This is not a completed human learning study or a finalized phonetic alphabet.
Chromalect contains its own constitution, agent guidance, and versioned formal multilingual ontology. The ontology publishes 37 entity types, 39 typed relations, JSON Schema definitions, and a source-grounded Mandarin instance graph. The public ontology gallery exposes these distinctions independently of the Mandarin color prototype.
Ontological types support writing systems, alphabets, graphemes, phonemes, words, morphology, lexical meaning, prosody, and the relationship between evidence and reversible visual encodings. Types do not imply that corresponding corpora or learning experiments are already complete. The independent repo hosts the ontology and presentation; an external registry may link here but is not a prerequisite.
See the published research roadmap checkpoint dashboard for source-derived phase percentages and outstanding work. These count documentary checkboxes, not scientific acceptance or overall product completion.
The first research profile is Mainland Standard Mandarin (Putonghua), modern simplified Chinese, and Hanyu Pinyin. This scope is deliberately narrow enough to test while the underlying concepts can later be evaluated on Latin alphabets, Arabic, Hangul, other Chinese language varieties, and additional writing systems.
Compare a plain rendering with alternate overlays of the same underlying text:
- Identity: every normalized reusable component gets a stable, uniquely assigned color.
- Semantics: semantic families may optionally influence hue neighborhoods; distinct identity and recognition take precedence.
- Structure: decomposition reveals component boundaries and positions.
- Historical sound clues: identify which component plays a phonetic role in this character, if any.
- Actual pronunciation: a separately designed compositional visual phonetic code, ideally inside the glyph cell, plus a clear fallback to verified phonetic transcription.
- Prosody: conventional tone marks/contours, with contextual pronunciation kept distinct from citation readings.
- Motion: optional, meaningful animations that aid learning, never mandatory or permanently moving.
- Plain mode: turn all layers off and recover the original text.
Hard rule: a component never changes its assigned identity color simply because it appears in a different character. The same shape cannot be recolored stroke by stroke for decorative effect.
A repository for hypotheses, competing visual encodings, reproducible component data, validated rendering tools, and controlled experiments.
It is not a branch of another knowledge base or a general language-learning platform. The SVG pipeline is written in Rust and GitHub Pages hosts the static browser prototype. More extensive software architecture remains undecided.
The stroke gallery demonstrates 12 actual Chinese glyphs made of separately colored component strokes, with machine-readable path ownership. The v0.4 colors remain intact. The Rust glyph pipeline builds a separate SVG for each assigned character; its source-backed importer handles exact leaf ownership for nested and enclosing component structures and whole-component atomic glyphs. The generated coverage report distinguishes mapped and unmapped characters. Source diagnostics document the source audit and remaining review qualifications, while geometry contact sheets show native-font glyphs alongside source SVGs for visual review. The portable mapping manifest publishes component IDs, palette values, and source-path ownership for all currently rendered glyphs. For the 49 source-owner warning pairs in 48 first-tranche glyphs, the neutral A/B presentation rehearsal uses a separate key-reduced manifest and 98 source-derived monochrome masks. The provisional source-owner intake and local two-export disagreement comparison preserve conflicting evidence without awarding certification. These are engineering research aids, not independent blinded reviews: the prospective source-owner protocol still records zero independently accepted owners and zero study-eligible glyphs. Separate alternate-decomposition comparisons (8 cases) and partial source-ownership previews (27 cases, with unresolved paths in neutral gray) support further analysis. Neither research queue is included in Direct mode, Marker mode, or the active coverage figure. The hierarchical derivation manifest identifies 73 additional source-derived component assignments admitted through subglyph decomposition, stroke-index agreement, and normalized path-geometry checks. These are research candidates, not independently certified mappings. A separate, pinned secondary evidence manifest documents HanziVG Chinese groups and independently aligned AnimCJK simplified-Chinese stroke-count decompositions, including 15 matched donor subglyph refinements. The existing Chinese Make Me a Hanzi outlines remain the rendered geometry; source artwork is not silently substituted. See third-party notices. None of these checks constitutes independent visual certification.
- Human-readable color registry: component identities, 24 written Pinyin initials, 33 Pinyin finals, and all five citation-tone assignments.
- Human-readable repository tables: the same token-to-color values with channel scope and examples.
- Machine-readable pronunciation/tone palette: authoritative JSON for initial, final, and tone channels.
- Active machine-readable component palette v0.6: all 520 additive component identities, preserving earlier assignments exactly.
- Historical immutable v0.4 palette and v0.5 extension: retained as versioned research records.
The displayed sound colors encode Pinyin spelling for the selected citation reading, not a complete phonetic analysis. The left, right, and top glyph-cell edges encode initial, final, and tone separately.
Stroke order is not a learning objective. Stroke paths are indexed solely to associate source outlines with component ownership; the visual system does not teach handwriting sequence.
The Mandarin atlas, homepage examples, search, semantic coverage viewer, and semantic grammar lab use the same visual character presentation channels: component identity, Pinyin initial/final, and citation tone. Each starts in Direct unless the visitor has saved another mode; the controls switch independently among Off, Direct, and Marker and persist across these surfaces. Direct component mode uses source-aligned colored glyph SVGs wherever available (otherwise a component stripe), while direct Pinyin and tone appear as independently colored edges. The semantic research viewer retains its separate provisional-emoji toggle; no production semantic default or word-sense presentation is implied.
The first-1,000 Mandarin search interface uses a generated ontology-backed Mandarin data profile to browse every cataloged character by orthography, source-backed Pinyin, component shapes/IDs, and source SVG coverage. A missing SVG is recorded as unresolved, not invented. This profile binds the existing data to the shared ontology; no other language implementation is introduced.
The static GitHub Pages prototype uses independent off/direct/marker settings for component identity, orthographic Pinyin initial/final, and tone; semantics are unavailable until source-backed meaning data exists. Direct component mode uses source-aligned colored stroke geometry where available and a cell-level fallback elsewhere. See the layer architecture, machine-readable layer schema, and one-time Pages setup. Publication requires GitHub Pages to be enabled for Actions in repository settings.
Chromalect has a reversible source-orthographic, not phonemically approved, first-tranche grammar: all 1,171 pinned citation readings round-trip across 673 distinct written initial/final/tone triples. The citation-grammar browser shows the original spelling with separately qualified channels, and the written-contrast controls contain 710 source-label candidate comparisons, not validated spoken minimal pairs.
Experimental symbol references are intentionally separate: the 21-initial feature prototypes are provisional consonantal categories, the 33 written-final geometric controls encode letters, not phones, and the six-simple-final feature hypotheses cover 432 source-reading occurrences, including 112 contextual spelling cautions. The tone-contour reference shows idealized citation targets with context-dependent neutral tone. The integrated citation cell independently toggles these research displays around an unchanged native Chinese character.
The broader final-spelling exception ledger flags 213 source-reading occurrences across nine context categories; absence of a flag is not phonological approval. A Rust audit independently cross-checks these records and the written-final alphabet against the original source. Zero source sentences, phonemic interpretations, human symbol-decoding results, or learning-effectiveness results are silently approved. All future full-final IPA and contextual assignments require independent evidence.
The nine-family spelling-caution browser now separates seven university-linked written spelling rules (134 source uses) from two explicitly unapproved phonetic research leads (79 source uses). Both reference types remain independent of accepted IPA analyses. A local-only citation-specific review intake can draft research notes for the 213 flagged source occurrences and export them for a strict source-pinned validator; passing that validator never promotes a phonetic claim. The speech source registry documents four external Mandarin corpus leads with dataset-specific license, privacy and acquisition constraints. No audio has been acquired or matched to these citation readings.
The first 1,000 Mandarin characters have provisional source-backed meaning records. Initial screening yielded 881 characters with candidate pictograms and 119 explicit deferrals, for 897 experimental meaning expressions. These figures describe research proposals, not validated Mandarin senses or independently tested pictograms.
The semantic browser shows candidate mappings, source coverage, lexical complexity, and research-priority filters. The source-aligned color × semantic comparison holds glyph geometry constant across three presentation modes: neutral source strokes, v0.6 identity-colored strokes, and the same identity colors plus a provisional pictogram. It exposes exact component swatches, machine-flagged close-color pairs, grayscale and white/black surface controls, and a reversible event-operator label. None of these certify a semantic-family palette or learning outcomes. The separate all-520-component reference contrast audit measures the original palette against solid white and black, without reassigning colors or declaring visual accessibility. An eight-hint mnemonic-group color pilot measures the original 40 historically grouped component colors, keeping 480 ungrouped and all 520 assignments unchanged. Its within-group and between-group OKLab averages are close, so the source hints are not presented as visually differentiated or linguistically verified semantic families. An isolated historical-hint hue counterfactual compares the original 40 swatches with separately derived grouping colors. The source-aligned hypothetical glyph viewer contrasts the unchanged production SVGs with generated research-only SVGs for the 542 affected first-tranche characters, with optional identical provisional semantic cues in both conditions. The source-matched within-glyph proximity audit finds 26 original versus 76 hypothetical pairs below ΔOK 0.07 (70 newly introduced, 20 resolved, six retained), spanning 66 glyphs with new machine review warnings; this is a numerical risk comparison, not a human readability judgment. The second source-cooccurrence-optimized experimental palette reduces the full-sample count to six, but the five-fold held-out character evaluation finds 26 original, 76 first grouping and 28 fold-trained optimized below-threshold pair observations. This cautions against treating the six-warning in-sample result as generalization or promoting unverified group hues. The fold-specific visual warning queue presents the 23 newly close pairs, 21 resolved pairs and five retained pairs in source-identical Chinese SVGs using only each fold’s 800-character-trained candidate colors. It is a machine-prioritized, independently unreviewed visual audit aid. The gallery permits side-by-side source-identical comparisons at 16–160 CSS px, including 16, 24 and 32 px, without claiming those sizes have passed human legibility testing. No source geometry, main palette, ungrouped component assignment or independently approved sense is changed. The lexical review worksheet, dictionary reading inventory, and blind emoji-comprehension worksheet keep their observations local and separate from production mappings.
The technical semantic research index contains the detailed hypotheses, visibility and reading audits, source intake, reproducible evidence, review protocols, and outstanding verification gates. No proposed sense has independent lexical approval or independently established pictogram-comprehension approval.
The source-evidence research queue contains 319 high-attention pinned reading entries, grouped into 241 case-normalized pronunciation search targets without merging lexical senses. The offline Tatoeba candidate extractor can identify bounded, contributor-attributed Chinese sentence IDs from licensed snapshots. No corpus sentence is accepted as a reading or sense without contextual review. The semantic browser reports acquisition separately from lexical and pictogram approval.
The word-context browser displays eight dictionary source-word leads and their 27 unapproved corpus candidate IDs. The context evidence browser compares the original 423 surface-only candidate associations with 701 hash-sampled associations (1,087 unique character/sentence associations combined), without copying sentence text or approving meanings.
The human-readable catalog distinguishes modern radicals (201 principal + explicitly listed variants), 214 traditional Kangxi radicals, 513 original v0.4 component color identities (extended additively to 520 in v0.6), and characters 0001–1000 in ten 100-character pages. Their machine-readable JSON and inverse indexes preserve the original analyses; a generated, source-aligned catalog now has complete first-tranche SVG coverage. Third-party data attribution is recorded in THIRD_PARTY_NOTICES.md.
| Document | Role |
|---|---|
| Formal ontology | Typed multilingual classes, relations, evidence and encoding semantics |
| Ontology instance graph | Source-grounded typed example and provenance |
| Vision | Motivation, scope, constraints |
| Terminology | Precise linguistic and design terms |
| Architecture | Conceptual information model; no code |
| Color and rendering | Identity invariants and independent channels |
| Component color policy | What gets colored, variants, nesting, and invariants |
| Palette v0.1 preview | Exact colors for 40 Mandarin components |
| Palette registry | Machine-readable versioned color IDs and groups |
| Pilot compound specimens | Testable structural decomposition candidates |
| Phonetic notation | Sound-glyph research and falsifiable constraints |
| Mandarin baseline | First language and orthographic targets |
| Reference corpus | Controlled test cases; avoid misleading samples |
| Data and licensing | Potential sources and their license risks |
| Experiment protocol | Versioning, reproducibility, comparison rules |
| Experiment 0001 | Stable per-component colors |
| Experiment 0002 | Constructed visual sound notation |
| Decisions | Accepted, tentative, and rejected choices |
| Roadmap | Research-first development sequence |
| Contributing | Proposal and documentation discipline |
v0.4 methodology and results · v0.4 registry · comparison · v0.3 · v0.2 · v0.1.
The original 40 are not frozen in v0.4. Their assigned colors can change between versions. A component's color remains constant within an active version. The standard contains duplicate shapes and 30 descriptive placeholders. This is an exhaustive assignment for the transcribed reference inventory, not a finished within-glyph renderer or a complete list of every possible Chinese character component. The policy explains the distinction.
A beautiful rendering can be linguistically wrong. A pretty encoding can fail to be reversible. An attractive color palette can make characters less legible. Each scheme must therefore be explicit, testable, and reproducible; designs are not silently overwritten with unrelated rules.
- Preserve the source Unicode text independently of every visual overlay.
- Document assumptions and provenance; never treat an image mockup as validated linguistic analysis.
- Separate component identity, component role, meaning, pronunciation, and display style.
- A character may have multiple readings; context can change pronunciations and meanings.
- Use exact, uniform per-component fills before trying embellishments.
- Do not import third-party linguistic corpora or font outlines without reviewing their licenses.
- Visual density is adjustable by the learner; full information is a valid study mode.
- Accessibility means every encoded dimension can be inspected without reliance on color alone.
The repository has the existing MIT license. Third-party data and fonts may have different terms; the repository license does not supersede those terms.