Skip to content

Releases

Surface Lab v2.6.1 — Live Slider Previews

Choose a tag to compare

@ZavierChen ZavierChen released this 30 Oct 08:42

Live previews with progressive refinement / 实时预览与逐级细化

All five sliders now show changing surfaces while moving. Coarse previews adapt their sampling density to rendering time. After about 220 ms of stable input, the latest surface is refined in stages to the selected detail. Moving again returns to preview mode.

Only one render runs at a time; pending inputs replace each other. A blocked-render regression confirmed that 100 new inputs collapse to the latest parameters, rather than replaying stale states. Slider value precision remains unchanged. Contour mode uses a solid preview and restores isolines after settling.

五个滑块在移动过程中持续显示简化曲面,停稳后逐级补细节。保留精确数值步长、当前视角和 Q 跨零时的几何变化。中英文操作一致。

Validation: live updates on all sliders in both languages; progressive quality stages; latest-state scheduling under an intentionally blocked draw; preview mesh equations and topology; camera and mouse regressions; equation editor; responsive/offline UI; both Windows hosts.

English online demo · 中文在线版

The English ZIP contains offline HTML and a Windows x64 EXE (requires Microsoft Edge WebView2 Runtime). Preview performance depends on the computer; small features of higher-degree implicit surfaces may be absent at coarse resolution.

Surface Lab v2.6.0 — Faster Surface Rendering

Choose a tag to compare

@ZavierChen ZavierChen released this 30 Oct 08:28

Faster interactive surfaces / 曲面交互性能优化

  • Indexed triangle meshes speed up solid and transparent analytic surfaces at the existing sampling precision.
  • Reuse reference cones and general implicit scalar samples when Q changes; preserve exact topology changes through Q = 0.
  • Chinese and English editions share the same controls and optimizations.
  • Contour mode and higher-degree implicit surfaces can still take longer to render.

Same-machine, medium-quality benchmark (12 updates per case; median drawing time, excluding the intentional slider settling delay):

Change Before After
Hyperboloid Q 342 ms 52 ms
Hyperboloid coefficient 450 ms 40 ms
Cutting plane 640 ms 40 ms

These measurements are not FPS guarantees for other computers. Mesh validation checked 259,359 unchanged vertices and 498,122 faces, including small gaps and topology changes. Math, camera, mouse, equation editor, slider scheduling, bilingual UI and Windows host checks passed.

English online demo · 中文在线版

Download the English ZIP below for the offline HTML and Windows demo. The Windows EXE uses Microsoft Edge WebView2 Runtime.

Surface Lab v2.5.0 — Online Demo and Adaptive Quality

Choose a tag to compare

@ZavierChen ZavierChen released this 30 Oct 08:08

Surface Lab v2.5.0 — Online Demo and Adaptive Quality

Use it online: English demo · 中文版

The site is hosted by GitHub Pages and computes in the visitor's browser. The author's computer does not need to stay on. Offline HTML and Windows EXE versions remain available in Surface-Lab-English-Demo.zip below.

Performance changes

  • Slider values update immediately; costly surface drawing waits for about 160 ms of stable input and renders the latest state.
  • Auto quality is now the default. A 50 ms draw-time budget (target 20 updates/s, not guaranteed display FPS) reduces detail after slow updates and restores it after six fast updates. Manual levels remain available.
  • Unchanged views skip redraws; 3D style/grid changes skip the 2D trace, and changes to a hidden cutting plane skip the 3D plot.
  • Reuse coordinate-axis data and trace results, and avoid redundant camera writes when the rendered view is already correct.

Offline use

Extract the ZIP and open surface-lab-en.html in a modern WebGL-enabled browser. Windows x64 users can run Surface Lab Demo.exe with Microsoft Edge WebView2 Runtime installed.

Validation

Bilingual tests passed for settled-input drawing, latest-value rendering, adaptive quality hysteresis, manual overrides, mathematical classifications, editable equations, all eight presets, traces, camera controls and retention, and responsive layouts. Both EXEs passed native WebView2 startup/preset tests. GitHub Actions builds and deploys both languages from main.

Source commit: aa89133.

Surface Lab v2.4.0 — Editable Equations

Choose a tag to compare

@ZavierChen ZavierChen released this 30 Oct 07:49

Surface Lab v2.4.0 — Editable Equations

Edit the equation directly above the plot:

  • Three keyboard input boxes for the x, y and z coefficients, plus a fourth box for Q.
  • Six arrow buttons, one pair per variable, adjust exponents from 0 to 4.
  • Zero-degree terms are treated as constants in surface classification, geometry and traces.
  • Equation inputs and sidebar controls stay synchronized, and edits preserve the current camera.
  • Editing the solved variable's coefficient or exponent switches an explicit equation to implicit form.

The Chinese application and English demo share the same logic. Existing controls remain: left drag for 3D rotation, right drag for origin-centered screen rotation, both buttons for pan, and the wheel for zoom.

Download and start

Download Surface-Lab-English-Demo.zip below and extract it. Open surface-lab-en.html in a modern WebGL-enabled browser. No Node.js installation, server or internet connection is required.

Windows x64 users can also run Surface Lab Demo.exe with Microsoft Edge WebView2 Runtime installed. The archive includes START-HERE.txt, the English teaching guide and third-party notices.

Validation

Both-language tests cover continuous numeric typing, incomplete and invalid inputs, synchronization, exponent boundaries, zero-degree constants, explicit-to-implicit conversion, camera preservation and responsive layouts. Existing mouse, camera, preset and trace regressions passed. Both Windows executables passed native WebView2 startup and all eight preset checks.

Source commit: 2e78c31.

Surface Lab v2.3.1 — English Classroom Demo

Choose a tag to compare

@ZavierChen ZavierChen released this 30 Oct 07:33
e1689e1

An offline Calculus III demo for exploring quadric surfaces, level sets and planar cross-sections. The English and Chinese versions share the same interaction logic.

Download and start

Download Surface-Lab-English-Demo.zip from Assets and extract it.

  • Open surface-lab-en.html in a modern WebGL-enabled browser. No installation, server or internet connection is needed.
  • On Windows x64, you can instead open Surface Lab Demo.exe (Microsoft Edge WebView2 Runtime required).
  • START-HERE.txt includes a short classroom demonstration; README.en.md explains the mathematical model and limitations.

Controls

  • Left drag: grab and rotate the figure in 3D; the near side follows your pointer.
  • Right drag: turn the picture around the coordinate origin, like a steering wheel.
  • Left + right drag: pan. Mouse wheel: zoom.
  • X / Y / Z view: positive-axis orthographic views.
  • Reset view: first-octant perspective. Editing parameters preserves the current camera.

Validation

Both-language browser tests cover rendered drag direction, screen rotation, panning, zoom, camera preservation, axis views, presets and cross-sections. Both Windows builds passed native WebView2 startup and all eight preset checks.

Source: main commit e1689e1.