Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/polygonjs/vanilla-example
Example of loading a Polygonjs scene without frameworks
https://github.com/polygonjs/vanilla-example
Last synced: 21 days ago
JSON representation
Example of loading a Polygonjs scene without frameworks
- Host: GitHub
- URL: https://github.com/polygonjs/vanilla-example
- Owner: polygonjs
- Created: 2023-11-06T14:10:07.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-06T16:14:26.000Z (about 1 year ago)
- Last Synced: 2024-04-18T22:08:47.767Z (7 months ago)
- Language: TypeScript
- Size: 2.98 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Created with [Polygonjs](https://polygonjs.com)
# Open Polygonjs Editor
- 1: install dependencies, with `yarn` or `npm install`
- 2: run: `yarn polygon` or `npm run polygon`
- 3: open your browser on `http://localhost:8091`If you have any trouble installing it, the docs may be able to help: [https://polygonjs.com/docs/](https://polygonjs.com/docs/)
![manual screenshot](https://github.com/polygonjs/vanilla-example/blob/main/public/polygonjs/screenshots/manual_screenshot.jpg?raw=true)
If you are looking for how to modify the files from a project created with the [polygonjs-cli](https://github.com/polygonjs/create-polygonjs), you may be interested in the changes in [this commit](https://github.com/polygonjs/vanilla-example/commit/9bb20272049e02ca5c0c9067cad5644f6205340c), where you can see how a few lines added to [main.ts](https://github.com/polygonjs/vanilla-example/blob/main/src/main.ts), [index.html](https://github.com/polygonjs/vanilla-example/blob/main/index.html) and [style.css](https://github.com/polygonjs/vanilla-example/blob/main/src/style.css) allow you to load multiple polygonjs scene on the same page.