/polygonjs-threejs-example

Example showing how to combine a Polygonjs scene with a Threejs scene

Primary LanguageTypeScriptMIT LicenseMIT

This is a repository showing how to integrate Polygonjs and Threejs in the same project.

Read the tutorial where you will learn how:

  • how to import a polygonjs scene into a threejs one.
  • how to do the other way round, which is to import a threejs scene into a polygonjs one.

Start the app

Install the dependencies: yarn or npm run install

Start the app: yarn dev or npm run dev

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/