/ concept-collection / dot-github
Sign in
concept-collection / dot-github
dot-github / profile
Go to fileHistory
..
README.mdReorganize profile: lead with most interactive/visual demos

Concept Collection#

A set of small, independent projects: interactive demos, teaching material, and research code. Most run directly in the browser with nothing to install, and many are written in MATLAB syntax and run there via numbl.

Projects are grouped below by application area — sampling, geometry and meshing, visual math, neurophysiology, data compression, physics, and more — rather than by the technology behind them. The most interactive and visual demos come first; utilities, datasets, and templates are toward the end. Each links to its repository, and to a live page where there is one.

Monte Carlo & sampling#

  • hitandrun-interactive (live). Hit-and-run MCMC sampling of a 2-D convex region, with React driving a numbl script. Resample, make new regions, or play a step-by-step movie of the algorithm.
  • walnuts-interactive (live). WALNUTS (the within-orbit adaptive leapfrog No-U-Turn Sampler) drawing from a 2-D banana target, with React driving a numbl script. Tune the leapfrog step and error tolerance, or play a step-by-step movie of the orbit-building.
  • stan-web-ide (live). Run Stan sampling in your browser, in a VS Code-style IDE.

Peer-to-peer shared state#

  • hitandrun-commonview (live). The hit-and-run figure with a single live view shared by all visitors over a WebRTC mesh; one peer runs the sampler via numbl and broadcasts to the rest.
  • commonview (live). A minimal peer-to-peer page where every visitor shares one state (a counter): nostr discovery, a WebRTC mesh, and a central-peer authority. The basis for hitandrun-commonview.

Geometry, meshing & PDE solvers#

  • surfacefun-interactive (live). surfacefun demos with live sliders, where React and three.js drive a numbl script. Refine a cubed-sphere mesh or scale a tangent vector field and watch it update.
  • mesh-studio (live). Build CAD primitives or import STEP/IGES with OpenCASCADE.js, then inspect them in 3D — including each face's true NURBS surface (polynomials on faces), not just its triangulation.
  • mesh-converter (live). Convert meshes between 19 formats (PLY, OBJ, STL, VTK, Gmsh, XDMF, …) with meshio running in-browser on Pyodide; inspect meshes in 3D and see what a lossy export would drop.
  • mesh-pde-solver (live). Upload a quad surface mesh and solve Poisson or Helmholtz problems on it with surfacefun, entirely in the browser; the solution renders in a rotatable 3D view.
  • qhull-wasm-demo (live). Demos and benchmarks for qhull-wasm, which compiles Qhull to WebAssembly. Includes 2-D Delaunay triangulation, 3-D convex hull, and a Delaunay benchmark with matching scripts for MATLAB, Octave, and numbl.
  • numbl-distmesh (live). Every example from Persson and Strang's DistMesh, meshing 2-D regions and surfaces from signed distance functions.
  • numbl-surfacefun-intro (live). An introduction to surfacefun, which computes with functions on surfaces and solves PDEs on them to high order.
  • numbl-chunkie (live). Examples for chunkie: building chunker geometries in 2-D and solving Laplace, Helmholtz, and Stokes boundary integral equations.
  • abc-step-1000 (live). The first 1000 STEP files from the ABC dataset of CAD models (Koch et al., CVPR 2019), served gzip-compressed with a JSON manifest for direct download.

Number theory & visual math#

  • finite-field-visualizer (live). Color-coded multiplication tables over finite (prime) fields. Step through the primes to watch the structure change.
  • gcd-visualizer (live). A heatmap of the greatest common divisor of every pair (i, j), laid out as a color-coded table.

Neurophysiology data & remote access#

Scientific data compression#

Physics & quantum systems#

Image processing#

  • numbl-image-filter (live). Upload an image, write a MATLAB-syntax filter, and run it on the image in the browser.

numbl platform: templates & tooling#

Utilities and starting points for building your own numbl projects.

  • numbl-web-ide (live). Run MATLAB-syntax .m files in your browser, in a VS Code-style IDE.
  • jupyterlite-numbl-kernel (live). A JupyterLite kernel that runs numbl in notebook cells entirely in the browser, with inline figures and mip packages.
  • numbl-figure-viewer (live). Open and explore a figure exported from numbl, including its underlying data.
  • numbl-project-example (live). A minimal numbl project deployed to GitHub Pages, meant as a starting template.
  • numbl-embed-example (live). Shows how to embed editable, runnable numbl scripts inside Markdown rendered on GitHub Pages.
moveopenescclose