Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.