README
Welcome to Polygonjs
What is Polygonjs?
Polygonjs is a web-based tool to easily create interactive 3D applications.
Embed API
Getting Started
Install
as a script in your html:
$
or as a package:
$ yarn add polygonjs-embed
Create an iframe in your html files to load your scene
$
Create the Embed
$ var embed = POLY.embed(document.getElementById('myiframe'))
Update any node
$ embed.node('/geo1/transform1').param('scale').set(2)
That's it, your scene should now update. You can change any parameter within it, at runtime.