v3: replace React with Web Audio + Three.js native runtime - #1
Conversation
There was a problem hiding this comment.
Sorry @EmergentMonk, you've used your own review budget of 250,000 diff characters for the last 7 days.
You can request another review in 2 hours and 26 minutes by commenting @sourcery-ai review. Upgrade to get a review now.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Reviewer's GuideThis PR is a full v3 rewrite: it removes the React/Figma/Radix stack and implements a native HTML/CSS/ES-module application coordinated around a deterministic seeded qutrit-inspired core, with Three.js rendering, lazy Web Audio sonification, telemetry/snapshot exports, and CI-backed tests and builds. Sequence diagram for seeded field evolution and audio-visual updatessequenceDiagram
participant App as app.js
participant Core as QutritField
participant Audio as QNTOYAudio
participant View as QutritVisualizer
loop simulation update
App->>Core: step(rate)
Core-->>App: changes
App->>View: applyChanges(changes)
App->>Audio: sonifyChanges(changes, field)
Audio->>Audio: setEntropy(entropy)
View->>Audio: getLevel()
View->>Audio: getSpectrum()
end
Sequence diagram for lazy Web Audio startupsequenceDiagram
actor User
participant App as app.js
participant Audio as QNTOYAudio
participant Browser as Web Audio API
User->>App: click START AUDIO
App->>Audio: toggle()
Audio->>Audio: ensureContext()
Audio->>Browser: createAudioContext and audio graph
Audio->>Browser: resume()
Browser-->>Audio: running context
Audio-->>App: enabled
App->>Audio: chord(entropy)
Flow diagram for deterministic exports and telemetryflowchart LR
Field[QutritField state] --> Snapshot["snapshot()"]
Snapshot --> JSON["downloadSnapshot()"]
Field --> Logger[QNLogger]
Audio[QNTOYAudio] --> Logger
Logger --> Sample["sample() every second"]
Sample --> CSV["toCSV()"]
CSV --> Download[qntoy-log.csv]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4cc52cd372
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Fixed all Codex P2 findings in Key changes:
Verification on head @codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 51739fcd54
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Fixed the latest four Codex P2 findings on final head
Regression coverage added for entropy-aware graph creation, disabled-spectrum clearing, and fractional-index count integrity. CI run #5 on this head passed dependency install, syntax check, unit tests, and production Vite build. @codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 463c4bcc10
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Fixed the latest three P2 findings on head
CI run #10 passed install, syntax checks, unit tests, and the production Vite build. All three corresponding review threads have been resolved. @codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9e5293071b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Fixed the latest P2 on head @codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 42da85b9f0
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Fixed the live Changes:
Verification: CI run #15 passed dependency install, syntax checks, unit tests, and production build. @codex review |
|
Codex Review: Didn't find any major issues. Another round soon, please! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
Massive QNTOY v3 rebuild that removes the React/Figma/Radix application stack and replaces it with a browser-native audio-visual architecture.
Runtime
Simulation
QutritFieldcoreMath.random()Data + controls
Project cleanup
threeVerification
Local dependency-free verification before push:
node --test tests/core.test.mjs→ 7/7 passingnode --checkacross all new JS modules → passingGitHub Actions on this PR performs:
Summary by Sourcery
Replace the legacy React application with a deterministic browser-native QNTOY runtime that couples a Three.js qutrit field to Web Audio, accessible controls, reproducible exports, and automated verification.
New Features:
Bug Fixes:
Enhancements:
Build:
CI:
Documentation:
Tests:
Chores: