Sej [ˈsɛj]. ("say") is a game engine for the web. It's heavily inspired by three.js's editor.
Sej is:
- High-performance
- Flexible
- Very opinionated (!)
It supposed to be a batteries included game engine that allows you to create performant 3D scenes with ease. However, it's not production ready yet!
Begin by installing sej
:
yarn add sej
Use the SEJ
namespace to avoid conflicts with other libraries:
import * as SEJ from 'sej';
The Sej engine consists of multiple parts. You are free to pick and choose which parts you want to use. This will determine how your application will look and behave.
To aid you with this, there are some factories that you can use to build your own Sej
:
const factory = new AbstractExampleFactory();
const sej = factory.build();
The variable sej
will now contain a engine that has all the bells and whistles that you need to create simple scene.
A list of working examples can be found here:
Auto-generated documentation can be found here:
"Spartan Armour MKV - Halo Reach" by McCarthy3D
"Simple Metal Fence" by Blender3D
"Pringles Cans | 5 Different Flavours | GAMEREADY" by NKaap
E2E testing is done locally with cypress
.
Unit tests are done with vitest
.
To start the development server, run:
yarn install
yarn dev
Navigate to http://localhost:5173/examples/.
Select one of the examples to see the Sej
in action.