Skip to content

docs: Add @typegpu/geometry docs with interactive previews - #2998

Draft
reczkok wants to merge 1 commit into
feat/geometry-patchesfrom
docs/geometry
Draft

reczkok wants to merge 1 commit into
feat/geometry-patchesfrom
docs/geometry

Conversation

@reczkok

@reczkok reczkok commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Adds a guide for @typegpu/geometry, covering mesh creation, composition and the different ways to evaluate and update geometry

  • primitives, parametric surfaces + custom geometry
  • transform, concat and custom vertex attributes
  • bake into buffers, evaluate in vertex shaders or update through compute
  • interactive previews for subdivisions, surface parameters, vertex colors and deformation
  • smooth, flat and wireframe shading to inspect the results

Stacks on #3014

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

pkg.pr.new

packages
Ready to be installed by your favorite package manager ⬇️

https://pkg.pr.new/software-mansion/TypeGPU/typegpu@24626f1d7e0599cd5b0d194bc994fe5045b47085
https://pkg.pr.new/software-mansion/TypeGPU/@typegpu/cli@24626f1d7e0599cd5b0d194bc994fe5045b47085
https://pkg.pr.new/software-mansion/TypeGPU/@typegpu/gl@24626f1d7e0599cd5b0d194bc994fe5045b47085

benchmark
view benchmark

commit
view commit

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

Bundle size comparison (import * as ... in PR vs import * as ... in target):

🟢 Decreased ➖ Unchanged 🔴 Increased ❔ Unknown
0 325 0 0

No notable changes.

If you wish to run a comparison for other, slower bundlers, run the 'Tree-shake test' from the GitHub Actions menu.

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

Resolution Time Benchmark

---
config:
  themeVariables:
    xyChart:
      plotColorPalette: "#E63946, #3B82F6, #059669"
---
xychart
  title "Random Branching (🔴 PR | 🔵 main | 🟢 release)"
  x-axis "max depth" [1, 2, 3, 4, 5, 6, 7, 8]
  y-axis "time (ms)"
  line [1.03, 2.04, 4.38, 6.99, 8.69, 12.63, 24.51, 25.73]
  line [0.98, 1.94, 4.37, 7.07, 7.47, 12.93, 24.61, 26.20]
  line [0.99, 2.03, 4.12, 6.77, 8.41, 10.85, 24.47, 24.76]
Loading
---
config:
  themeVariables:
    xyChart:
      plotColorPalette: "#E63946, #3B82F6, #059669"
---
xychart
  title "Linear Recursion (🔴 PR | 🔵 main | 🟢 release)"
  x-axis "max depth" [1, 2, 3, 4, 5, 6, 7, 8]
  y-axis "time (ms)"
  line [0.32, 0.58, 0.75, 0.89, 1.19, 1.24, 1.45, 1.62]
  line [0.28, 0.48, 0.69, 0.83, 1.13, 1.24, 1.43, 1.56]
  line [0.30, 0.53, 0.75, 0.85, 1.21, 1.24, 1.42, 1.59]
Loading
---
config:
  themeVariables:
    xyChart:
      plotColorPalette: "#E63946, #3B82F6, #059669"
---
xychart
  title "Full Tree (🔴 PR | 🔵 main | 🟢 release)"
  x-axis "max depth" [1, 2, 3, 4, 5, 6, 7, 8]
  y-axis "time (ms)"
  line [0.86, 2.20, 4.21, 8.00, 12.89, 27.68, 59.20, 118.98]
  line [0.90, 2.25, 3.59, 7.48, 13.17, 27.79, 56.86, 114.25]
  line [0.93, 2.29, 3.59, 7.48, 12.91, 27.93, 56.92, 117.80]
Loading

@reczkok
reczkok removed this pull request from stack #2999 September 9, 2026 14:49
@reczkok
reczkok changed the base branch from feat/geometry-meshes to feat/geometry-patches September 9, 2026 14:50
@reczkok
reczkok added this pull request to stack #3015 September 9, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant