UNPKG

lingo3d

Version:

Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor

25 lines 564 B
import Cube from "../display/primitives/Cube"; const box = new Cube(); box.animation = { rotationX: [0, 180, 360], x: [0, 100, 0] }; // const audio = new TimelineAudio() // audio.src = "rave.wav" // const timeline = new Timeline() // timeline.data = { // [box.uuid]: { // x: { // 0: 0, // 60: 100, // 120: 0 // }, // rotationX: { // 0: 0, // 60: 180, // 80: 0 // } // }, // // [audio.uuid]: {} // } //# sourceMappingURL=testAnimation.js.map