Michael Casebolt
Michael Casebolt
I am going to work on adding this feature. Here's how it works in the Cuber project (and now ThreeTwist): 1. Calculate the cube's bounding box within the cube's coordinate...
I wrote an algorithm parser using Parsimmon: https://github.com/mikebolt/ThreeTwist/blob/experiments/src/scripts/algorithm.js The goal was to make it part of this "algorithm class" that had lots of useful methods. Feel free to use any...
There's no reason to call the `stop()` function in the `onComplete` callback. At that point the tween is already "stopped." See if removing that line of code solves your problem....
I have a possible solution in my branch: https://github.com/mikebolt/tween.js/commit/ab7da07bb83643c9919af20c4ee558d49ee345bf The only things that needs to be changed are the update functions. Instead of removing the tween within the global update...
I got the same drop in framerate when switching both Tween.js and the script in 01_bars.html to strict mode. However, it looks like the issue is the following code in...
Here's an idea. We could add a property to Group that would tell tween.js to expect that the group will have its time value manually controlled.
The chain function has been problematic for a long time. I'm in favor of making a breaking change to the chain function so that it is more intuitive. So now...
Are you calling TWEEN.update? Don't forget to include this code: // Setup the animation loop. function animate(time) { requestAnimationFrame(animate); TWEEN.update(time); } requestAnimationFrame(animate);
Are you trying to tween instances of THREE.Vector3? If you provide some code I can figure it out. Only the properties that are present in the object passed to `.to`...
@yifanya @git-ayas I'm re-opening this. If you could provide a complete program that demonstrates this issue that would really help.