👉 Check out the Live Example
This is a simple starter example for how to use Koota with react three fiber.
Koota is a brand new ecs library by pmndrs. Designed for highly dynamic realtime apps (i.e. games). While the library is mostly finished, expect some small changes to happen. This example shows how to create a world, a basic systems schedule, spawn entities with Traits (ecs components) and connecting the simulation back to r3f/three.
Take a look at ecs/index.ts to see how we create a world and a schedule.
Inside ecs/traits.ts you'll see some example traits and
ecs/systems.ts will demonstrate some example systems.
Check out the Koota repo for more docs.
More Starter Examples: