Skip to content

tkovis/ecs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data oriented entity component system (ecs) implementation inspired by simondev

See src/snapshots and src/tests for api demonstration or even src/benchmark.mjs. See src/ecs.mjs for the source code (very lightweight, 76 LoC). Load benchmark.html through a server to see a sample benchmark and do profiles.

At higher entity counts rendering takes all the time with my current setup. You can disable rendering by commenting out

requestAnimationFrame(render);

You can find benchmark.html here

About

ECS proof of concept

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published