1.0.30 • Published 1 month ago

@eulertour/studio v1.0.30

Weekly downloads
-
License
ISC
Repository
-
Last release
1 month ago

studio.js

Studio.js is the library that powers Euler Studio using three.js.

Installation

To run locally you can install into your project with your package manager:

npm install @eulertour/studio

Setup

The entry point from your animation is a class that implements the StudioScene interface. Most of the three.js boilerplate has been setup for you here.

import { AnimationRepresentation, StudioScene, THREE } from "@eulertour/studio";

export default class Animation implements StudioScene {
  animations: AnimationRepresentation[];

  constructor(
    public scene: THREE.Scene,
    public camera: THREE.OrthographicCamera,
    public renderer: THREE.WebGLRenderer
  ) {
    this.animations = [];
  }

  loop(time: number, deltaTime: number) {}
}

TODO run the animation

Examples

TODO

1.0.29

1 month ago

1.0.30

1 month ago

1.0.28

3 months ago

1.0.27

4 months ago

1.0.26

5 months ago

1.0.25

5 months ago

1.0.22

5 months ago

1.0.24

5 months ago

1.0.23

5 months ago

1.0.21

5 months ago

1.0.19

6 months ago

1.0.2

9 months ago

1.0.18

6 months ago

1.0.1

9 months ago

1.0.17

6 months ago

1.0.16

6 months ago

1.0.9

6 months ago

1.0.8

6 months ago

1.0.7

6 months ago

1.0.6

7 months ago

1.0.5

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.11

6 months ago

1.0.10

6 months ago

1.0.20

5 months ago

1.0.15

6 months ago

1.0.14

6 months ago

1.0.13

6 months ago

1.0.12

6 months ago

1.0.0

11 months ago