OBYOM

Documentation

Get OBYOM running in your project.

Install the package, mount a canvas, and load your first 3D model with a small async setup.

Requirements

Start with a WebGPU-ready browser.

OBYOM runs in the browser and needs WebGPU access. Use a current Chrome, Edge, Safari, or Firefox release with WebGPU enabled.

Install

Add the package to your application.

npm install obyom-3d

Initialize

Mount a viewer on a canvas.

import { OBYOM } from 'obyom-3d';

const obyom = new OBYOM({ canvas: '#viewer', params: {} });
await obyom.start();
await obyom.load('/assets/model.stl');

Deploy

Serve the built application over HTTP(S).

Keep the bundle, model files, and static assets available at their referenced paths.

Try the viewer ↗