Comments (5)
hey @kungfooman thanks a lot for the heads up, really appreciate. Will fix those shortly.
from polygonjs.
@kungfooman I've just updated the readme. I should absolutely have kept those up to date, so thanks a lot again for letting me know.
That said, I plan to remove those 2 examples, as they're not representative on how I recommend to use polygonjs. Using it with the visual editor (either on https://polygonjs.com, or via the npm module npx polygonjs-editor
) has many more benefits, the main one being that it will auto generate the imports for you, keeping the bundle size to a minimum.
But those examples are still good to get a sense of the api needed to go beyond what the editor can do. So I'll probably move them in the docs, under the api section.
Don't hesitate if you spot anything else, I'll do my best to help.
from polygonjs.
oh I see. Yes, you're right.
At the moment, there is no warning since it's possible to create the viewer without mounting it, but that doesn't seem quite right if the element option is given. I'll have a think, I may indeed just add the html you mention.
from polygonjs.
2nd example is also broken:
If you want people to test it out, make at least the examples work 😅
from polygonjs.
Thank you for fixing, its still missing a <div id="app"></div>
and if you forget about it, the engine doesn't warn about anything, which it probably should.
from polygonjs.
Related Issues (20)
- animation/event system HOT 1
- js builder HOT 1
- orbit controls ... HOT 2
- assets creation and sharing HOT 1
- Clone methods do not respect proper OOP HOT 7
- Draco lib can't be installed HOT 6
- plugin system to create custom nodes HOT 1
- Update CSG to use manifold.js HOT 2
- Three.js dependency version mismatch HOT 9
- wrong link in the docs HOT 5
- wrong "Local Export" path HOT 2
- "File > Save" does not work HOT 4
- How to import a scene into a plain HTML document? HOT 10
- "THREE.EXRLoader: provided file doesn't appear to be in OpenEXR format." HOT 4
- Run polygon.js as a webhook in response and return a message and an attachment HOT 7
- multiple rendering qualities HOT 1
- COP Node "Text" doesn't update on changes HOT 4
- THREE's renderer and scene could be represented as nodes HOT 1
- light baking HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from polygonjs.