Getting Started

The first step to run Vulfram. You will create a window, a camera, a light, and a basic cube.

Transport

1. Install packages

bash

2. Prepare the canvas

In the browser, Vulfram needs a canvas. Use the id vulfram-canvas.

html

3. Boot and first frame

The snippet below creates the world, window, camera, light, and a cube. Then it starts the main loop.

ts
Live demo canvas