t
? 0.5 * (sin(t) + 1.0)
fract(sin(t))
abs(sin(t))
floor(sin(t))
ceil(sin(t))
true
for every [x, y]
in a square and false
outside the square? Assume the values of x
and y
are between 0 and 1. max(x, y) <= 0.5
max(x - 0.25, y) <= 0.25
max(x * x, y * y) <= 0.5
max(x, y) >= 0.5
sqrt(x * x + y * y) <= 0.5
4
9
16
1
3
x
is a THREE.Mesh
. x.geometry = new THREE.SphereGeometry()
x.material = new THREE.MeshStandardMaterial()
x.rotation.set(1, 1, 1)
x.translateOnAxis(new THREE.Vector(1, 1, 1).normalize(), 1
x.material.color = new THREE.Color(1, 1, 1)
time = [0, 1, 3]
and track = new THREE.VectorKeyframeTrack(".position", time, [1, 0, 0, 0, 1, 0, 0, 0, 1])
is added to an animation clip for a mesh, what is the position of the mesh at time = 1
? Assume linear interpolation is used. [0, 1, 0]
[1, 0, 0]
[0, 0, 1]
[2/3, 0, 1/3]
[1/2, 0, 1/2]
time = [0, 1, 3]
and track = new THREE.VectorKeyframeTrack(".position", time, [1, 0, 0, 0, 1, 0, 0, 0, 1])
is added to an animation clip for a mesh, what is the position of the mesh at time = 2
? Assume linear interpolation is used. [0, 1/2, 1/2]
[0, 1, 0]
[0, 0, 1]
[1/3, 0, 2/3]
[2/3, 0, 1/3]
THREE.KeyframeTrack
s are used on correct properties of the mesh? Assume the frame times (indices) and values are correct. THREE.QuaternionKeyframeTrack(".quaternion", ...)
THREE.VectorKeyframeTrack(".rotation", ...)
THREE.ColorKeyframeTrack(".material.color", ...)
THREE.StringKeyframeTrack(".material.color", ...)
THREE.QuaternionKeyframeTrack(".rotation", ...)
Last Updated: November 30, 2024 at 4:35 AM