Skip to content

Conversation

Excellencedev
Copy link
Contributor

/claim #1417
/closes #1417

Description:

Replace simple-3d-svg with poppygl + circuit-json-to-gltf for 3D visual snapshots.

Changes

  • Add poppygl and circuit-json-to-gltf packages
  • Create toMatchPng3dSnapshot() matcher for PNG generation
  • Update all 3D tests to use PNG snapshots (massive file size reduction)
  • Remove giant SVG generation, use native WebGL rendering

Benefits

  • 10-100x smaller snapshot files (PNG vs SVG)
  • Faster rendering and comparison
  • Better visual regression testing

Copy link

vercel bot commented Oct 1, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
tscircuit-core-benchmarks Ready Ready Preview Comment Oct 1, 2025 9:23am

@Excellencedev
Copy link
Contributor Author

Please review this PR and drop a comment @seveibar
Thank you

@seveibar
Copy link
Contributor

seveibar commented Oct 2, 2025

solved in #1419

@seveibar seveibar closed this Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Switch from simple-3d-svg to poppygl + circuit-json-to-gltf for 3d model snapshots
2 participants