Web version of Polyhydra for 2D tilings, Omni operators, and export.
Live site: https://ixxyxr.github.io/polyhydra-web/
Repository: https://github.com/IxxyXR/polyhydra-web
This project is a web port of polyhydra-core, built with extensive LLM assistance.
The same underlying geometry code is also used in:
- Open Brush — 3D Shapes experimental build
- Open Blocks — Open Blocks (Pull request, no builds currently)
Prerequisites:
- Node.js 20+
Install dependencies:
npm installRun the dev server:
npm run devTypecheck:
npm run lintBuild for production:
npm run buildThis app is configured for GitHub Pages deployment from a repository named polyhydra-web.
The workflow in .github/workflows/deploy-pages.yml:
- runs on pushes to
main - installs dependencies with
npm ci - builds the app with
VITE_BASE_PATH=/polyhydra-web/ - deploys
distto GitHub Pages
If you later host it from a custom domain or a different repository name, update the VITE_BASE_PATH value in the workflow.
The Meta Horizon 2D PWA is hosted at
https://polyhydra.openblocks.app using the polyhydra Cloudflare Pages
project. Deploy the production build with:
npm run deploy:cloudflareThis is a Direct Upload deployment. The script builds the root-hosted Vite
output before uploading dist/.