VSeed, an elegant data composer, transforming complexity into simplicity.
!!!###!!!title=VisActor/VRender tutorial documents!!!###!!!!!!###!!!description=In this section, we will learn how to use the `scene tree` to describe a scene, as well as how to use it in cross-platform environments.Our scene is very simple, consisting of a circular "drum." When the "drum" is clicked, it will trigger an animation, launching many small circles.!!!###!!!
Quick Start for Events and Animations
In this section, we will learn how to use the scene tree to describe a scene, as well as how to use it in cross-platform environments.
Our scene is very simple, consisting of a circular "drum." When the "drum" is clicked, it will trigger an animation, launching many small circles.
Create a Canvas
import { creator, Global } from '@dp/canopus'
// No need to set env for the browser environment
Global.setEnv('tt');
// Create a stage with a default initial layer (layer)
const stage = createStage({
canvas: 'main',
autoRender: true
});