Questions tagged [tween]

Animation technique of frame interpolation between keyframes.

A tween could be understood as a synonym of animation. Given two keyframes with a number of properties a tween gives intermediate values per keyframe between the two keyframes. Usually this task is achieved by using specific libraries.

http://en.wikipedia.org/wiki/Inbetweening

624 questions
2
votes
1 answer

Matrix4Tween not working properly?

I am making a game with flutter and found this problem. While animation starts and ends correctly, everything in between that is a miss as you can see here. It starts going down (Because of the first vector in the matrix) but even if I put first…
knezzz
  • 683
  • 5
  • 14
2
votes
1 answer

How do I update text content in d3.js using tween function?

I am trying to update my text element on click to roll out like it is being typed. When I click on the text, it should pull the next text element from the data array and print character by character until complete, however, nothing happens. No…
J Iguadeza
  • 77
  • 7
2
votes
0 answers

html5 canvas tweening/projection

I'm working on a little script that should (eventually) create an animated motion tween between two paths. It's still a ways off and I'm sure there are things that can be done better, but here's where I'm at and the problem I'm experiencing: I want…
tomc
  • 417
  • 5
  • 17
2
votes
1 answer

TweenJS javascript

My first Stackoverflow question. The tween seems to run because it calls the brute function at the end. However, there's no tween happening. window.onload=init(); function init() { testImg = document.getElementById("testImg"); …
user3837893
  • 155
  • 7
2
votes
1 answer

How to change easing in d3 pathTween function

I'm attempting to use the code found here as a jumping off point for a project. This code uses D3 to transition between two paths using a function called pathTween(), which is as follows: function pathTween(d1, precision) { return function() { …
jrlars
  • 91
  • 8
2
votes
2 answers

Possible to Drive Object Properties with Motion Tween?

I'm trying to create a complex parallax effect in Flash video sequence that includes translation and scaling among many layers. I've been looking for a way to set up my scene to where I could just animate one object (preferably with motion tween)…
2
votes
2 answers

Using atan2 for delayed rotation

I have been trying to create a delayed rotation effect with the right analog sticks. The code below takes the angle based on the right analog stick's input and brings the object steadily closer. Due to atan2 being a range of -pi to pi the changing…
2
votes
2 answers

Haxe Javascript: get and set property by its name without using Reflect

I want to be able to set and get a property value by its name without using the Reflect API. I'm making some sort of a tween engine, animating hundreds of objects and the call to the function Reflect.getProperty and setProperty is taking quite some…
2
votes
1 answer

Threejs OrbitControls and Tween

I have been searching the internet to figure out how I can add a tween to orbitControls on threejs. Actual Goals: Rotate a camera around an object based on mouse movement. Tween the movement for a smooth camera easing I can achieve #2 by just…
ilovetoast
  • 65
  • 2
  • 10
2
votes
2 answers

How to install Tween Engine on Android Studio in libGDX?

I have the two jar files downloaded and I have put them in the libs folder. When I open the build.gradle project(":core") I can't find dependencies where I should put this code in: compile fileTree(dir: '../libs', include: '*.jar') It should look…
Filip
  • 127
  • 11
2
votes
2 answers

How to tween 10,000+ particles in Three.js?

I have a THREE.Points object consisting of many (10,000+) vertices (a.k.a. particles). However, I run into performance problems when I try to tween the location of the individual particles. This is expected given that I am using the following code…
Jet Blue
  • 5,109
  • 7
  • 36
  • 48
2
votes
1 answer

Button click event wont fire after adding tween.js

When I add the line of code to tween my display box the click event will not fire anymore. I get no errors in my console. How do I fix my issue? What did I do wrong? createjs.Tween.get(directionsbox, { loop: false }).to({ x:800, y: 650 },…
CsharpBeginner
  • 1,753
  • 8
  • 38
  • 68
2
votes
1 answer

Love2D, LUA Tween resetting

I have a problem with my tweening. I am using tween.lua to move my character left or right when that button is held. On release the player returns back to the middle. Tweening works perfectly for when the character goes either left or right but, for…
Nexrem
  • 111
  • 8
2
votes
1 answer

Libgdx Gwt compile error with tween engine

[ERROR] Unable to find 'aurelienribon/tweenengine.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? i followed every step in the libgdx wiki on how to install universal tween engine and it…
2
votes
1 answer

How to tween alpha of a BitmapFontCache in libgdx?

I am animating some text in my libgdx application and would like a label text to fade-in and move (e.g. similar to this jsfiddle). I can move, and change alpha of other objects (e.g. Sprites) and can move BitmapFontCaches. However I can't get alpha…