[Chaos-Equations] Add an in-browser (WebGL/WASM) version with shareable equation codes

Aperta
#398 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
39/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
cpp, javascript, wasm, web-dev
Ambito
frontend, web-dev

Direzione di ricerca

Read Math_Chaos/Chaos-Equations(Art)/Main.cpp lines 386–434 for the iteration loop and code format, then inspect docs/src/content/docs/math-chaos/chaos-equations.mdx lines 27–29 to understand how the demo should fit into the docs. Start by assessing a browser rendering approach and how it can preserve native app codes; done means the embedded demo meets the 30 FPS target and loads codes saved by the native app.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area: math-chaos priority: P3 size: L type: enhancement

Summary

The visual is a good fit for the docs site, but today it needs a native SFML build (Windows-only at present). A WebGL port, or an Emscripten build of a GLFW/SDL2 variant, would let docs readers explore it live and share codes in the URL.

Location

  • Math_Chaos/Chaos-Equations(Art)/Main.cpp:386-434
  • docs/src/content/docs/math-chaos/chaos-equations.mdx:27-29

Evidence

The docs page currently says "Run the application to see the chaotic beauty unfold live" with no live demo. The core loop is about 30 lines of arithmetic (Main.cpp:386-428).

Expected

A small JS/WebGL (or WASM) page in the docs renders the same equations, with controls and a ?code=XXXXXX URL parameter.

Proposed fix

  1. Port the iteration loop to a fragment/vertex shader or to JS with typed arrays.
  2. Reuse the base-27 code for URL sharing.
  3. Embed it in chaos-equations.mdx.

Acceptance criteria

  • Demo runs at >=30 FPS in a browser
  • Codes saved in the native app load in the web demo

Repository audit, November 2026 · Phase 9 · New features · evidence: found by code reading · ref chaos-native-020


Generated by Claude Code

Lingua principale
C++
Stelle
2
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ibra-kdbra/Math-Problems

Tutte le issue di ibra-kdbra/Math-Problems

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.