Skip to content

Latest commit

 

History

History

ecs

README.md

ECS

A high-performance, multithreaded Entity Component System for web-based applications, simulations and games.

Packages

  • @adobe/ecs: the ECS and its build plugin, @adobe/ecs/compiler.
  • @adobe/ecs-gpu: WebGPU devices, canvases, render targets, views and frame passes for the ECS.
  • @adobe/ecs-persistence: saving, loading and copying the entities of worlds, as binary columns.
  • @adobe/ecs-architecture: the architecture standard for apps on the ECS, its checker, and its rules for coding agents.
  • ecs-todo-vanillajs: a todo app whose world drives the DOM through systems, with vanilla custom elements.
  • ecs-particles-webgpu: particles simulated by kernels, on the CPU and with WebGPU.
  • ecs-gpu-views: a world on a worker drawing into two canvases, one with two views.
  • ecs-transfers-canvas: sprites drawn on a worker into a canvas moved to it, with textures transferred from another worker.
  • ecs-guide: the guide, each example edited in place, checked, compiled and run in the browser as it's typed.
  • ecs-sample-browser: the sample browser, a tab for each sample.
  • ecs-guide-checks: the checks every package's guide chapters pass.

Online

Development

Requires Node 24 and pnpm.

pnpm install
pnpm build
pnpm test
pnpm --filter ecs-sample-browser dev   # every sample, in the sample browser

Contributing

See CONTRIBUTING and the code of conduct.

License

MIT