Comments (6)
Hey, yeah, apparently we removed that when we did refactors to improve Tween overall. We have a plan in #555 and #585 to restore it. The PR is a mess though, it got lost in translation after converting from master
to main
and it is now conflicted.
I will close this in favor of #555. Please feel free to join in over there. :)
from tween.js.
Oh! Also you can use v17, dynamic to should work there for now.
- first remove
@tweenjs/tween.js
from yourpackage.json
- now run
npm install @tweenjs/tween.js@17
This will get you on the version with dynamic to, for now. The difference between 18 and 19 are not big, so most likely this will work fine. Let me know if not!
from tween.js.
Oh, one more thing! The docs are out of sync. Sorry about that. Fixing that now.
Dynamic_to with objects currently works out of the box in v19, no need to call dynamic()
. It currently doesn't work with arrays.
from tween.js.
The new tween.dynamic(true)
feature has been released in v20, and docs are up to date, along with release notes.
https://github.com/tweenjs/tween.js/releases/tag/v20.0.0
from tween.js.
新
tween.dynamic(true)
功能已在 v20 中发布,文档和发行说明都是最新的。
Yes, I found that the Chinese documentation is also seriously lagging, and I have now re-translated user_guide
and contributor_guide
(#646).
I can also help translate other documents.
Maybe we can also create an official website.
from tween.js.
create an official website
Got tweenjs.org, perhaps we can link it to GitHub Pages for now. We could move to Docsify next (I'm a maintainer). Wdyt?
Here's another project of mine using Docsify: https://lume.io.
from tween.js.
Related Issues (20)
- Make sure GitHub Pages is synced so that docs stay up to date. HOT 1
- `Timeline` feature HOT 1
- CJS entry point can't be loaded in Node.js HOT 4
- How to update .to value onRepeat? HOT 1
- Tween can't be restarted from onComplete callback. HOT 1
- [vite] Internal server error: Failed to resolve import "@tweenjs/tween.js/dist" from "src\index.ts". Does the file exist? HOT 3
- Simplify Tween, remove some stuff, make it easier to maintain. HOT 9
- Repeating value is incorrect over time HOT 1
- Proposal : Fix runs-on label - Directly specify Ubuntu 22.04 HOT 3
- Pausing a tween from a Group removes that tween from the Group's array. HOT 5
- [bug] calling tween.stop() does not cause tween.update() to return false
- CJS import broken HOT 2
- when time is negative, the result is bad HOT 4
- chain doesn't work HOT 3
- link to understanding-tweenjs not working :( HOT 1
- Types are not included with ModuleResolution `Node16` or `Bundler` options HOT 1
- [bug] yoyo has wrong value HOT 4
- Will the value not be automatically updated? HOT 1
- I want to rotate in the positive direction, but can't I click a button to rotate in the opposite direction? HOT 5
- ThreeJS Object3D flickers when tweening with yoyo turned on. HOT 11
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 tween.js.