v5 roadmap
#593
Replies: 2 comments 4 replies
-
i think we need moving effects |
Beta Was this translation helpful? Give feedback.
3 replies
-
Yes, I think it's time to move to es6 modules! Since webgl is a feature of modern browser, so there is no need to consider the legacy old browser . |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Publish as ES6 modules
Three.js, since a few versions already, exclusively publishes ES6 code to NPM, even the big
three.min.js
usesconst
andclass
and so on.I think it's time for PSV to do the same.
People using the lastest version of three.js but targeting old browsers must already have babel in their build-chain so it shouln't break anything. And people only using direct
script
tags (like the demos) are already not working on old browsers.Thinks to consider :
.?
and??
might not have landed on all browsers already ; will probably need to keep babel to do the jobthree.js
) and an ES6 module (three.module.js
but still one big file)dist
folder, it makes import of plugins uglyutils
was written excludively for old browsers compatibility)Publish in multiple NPM packages ?
Change position parameters names
longitude
andlatitude
have always been source of confusion, being often understood as GPS coordinates. They should be renamed :This will reflect in all APIs using angles as well as markers and virtual tour configuration (here "position" should be renamed in "gps" or something)
Migrate to TypeScript
Because it's better! And maintaining d.ts files is cumbersome.
Beta Was this translation helpful? Give feedback.
All reactions