├── .editorconfig ├── .eslintignore ├── .eslintrc.json ├── .github └── workflows │ └── merge.yml ├── .gitignore ├── .prettierignore ├── .prettierrc ├── .vscode ├── extensions.json └── settings.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── apps ├── .gitkeep └── docs │ ├── .eslintignore │ ├── .eslintrc.json │ ├── .gitignore │ ├── CHANGELOG.md │ ├── api │ └── .gitkeep │ ├── apiSidebars.js │ ├── babel.config.js │ ├── blog │ ├── 2021-04-22-coming-soon.md │ └── 2021-04-24-hello-world.md │ ├── docs │ ├── core │ │ ├── _category_.json │ │ ├── creating_an_ecs.md │ │ ├── declaring_entities.md │ │ ├── defining_facets.md │ │ ├── entity_views.md │ │ ├── hooks.md │ │ ├── overview.md │ │ └── systems_and_queries.md │ ├── introduction.md │ ├── shoulders.md │ └── three │ │ ├── _category_.json │ │ ├── overview.md │ │ └── threeview.md │ ├── docusaurus.config.js │ ├── exampleSidebars.js │ ├── examples │ ├── core │ │ ├── DOMParticles.md │ │ ├── FacetObserver.md │ │ ├── MinimalExample.md │ │ ├── MultipleQueries.md │ │ ├── MultipleSystems.md │ │ └── _category_.json │ ├── index.md │ └── three │ │ ├── BoidExample.md │ │ ├── ParticleSystem.md │ │ ├── SimpleCube.md │ │ ├── SpinningCube.md │ │ ├── UseCannon.md │ │ └── _category_.json │ ├── sidebars.js │ ├── src │ ├── components │ │ ├── Codeblock │ │ │ └── index.tsx │ │ ├── Example │ │ │ ├── index.module.scss │ │ │ └── index.tsx │ │ └── Warning │ │ │ ├── index.module.scss │ │ │ └── index.tsx │ ├── pages │ │ ├── index.module.scss │ │ ├── index.scss │ │ └── index.tsx │ ├── scenes │ │ ├── BoidExample.tsx │ │ ├── BoidScene.tsx │ │ ├── DOMParticles.tsx │ │ ├── FacetObserver.tsx │ │ ├── MinimalExample.tsx │ │ ├── MultipleQueries.tsx │ │ ├── MultipleSystems.tsx │ │ ├── ParticleSystem.tsx │ │ ├── SimpleCube.tsx │ │ ├── SpinningCube.tsx │ │ └── UseCannon.tsx │ ├── styles │ │ └── site.scss │ └── typings.d.ts │ ├── static │ ├── img │ │ ├── black-transparent.gif │ │ ├── favicon.ico │ │ ├── logo.png │ │ ├── logo.svg │ │ └── white-transparent.gif │ └── models │ │ ├── plane1.glb │ │ ├── plane1.gltf │ │ ├── plane2.glb │ │ ├── plane2.gltf │ │ ├── plane3.glb │ │ ├── plane3.gltf │ │ └── react-ecs-logo.gltf │ └── tsconfig.json ├── babel.config.json ├── bin ├── publish-libs.sh └── publish-site.sh ├── jest.config.js ├── jest.preset.js ├── libs ├── .gitkeep ├── boids │ ├── .babelrc │ ├── .eslintignore │ ├── .eslintrc.json │ ├── CHANGELOG.md │ ├── README.md │ ├── jest.config.js │ ├── package.json │ ├── src │ │ ├── entities │ │ │ ├── BoidSim │ │ │ │ └── index.tsx │ │ │ ├── Plane │ │ │ │ └── index.tsx │ │ │ └── index.ts │ │ ├── facets │ │ │ ├── Acceleration.ts │ │ │ ├── Neighbor.ts │ │ │ ├── Teleporter.tsx │ │ │ ├── Tracker.ts │ │ │ ├── Velocity.ts │ │ │ └── index.ts │ │ ├── index.ts │ │ └── systems │ │ │ ├── AlignSystem.ts │ │ │ ├── CohesionSystem.ts │ │ │ ├── MoveSystem.ts │ │ │ ├── NeighborDebugSystem.tsx │ │ │ ├── NeighborSystem.ts │ │ │ ├── SeparationSystem.ts │ │ │ ├── TeleportSystem.ts │ │ │ └── index.ts │ ├── tsconfig.json │ ├── tsconfig.lib.json │ └── tsconfig.spec.json ├── core │ ├── .babelrc │ ├── .eslintignore │ ├── .eslintrc.json │ ├── CHANGELOG.md │ ├── README.md │ ├── jest.config.js │ ├── package.json │ ├── src │ │ ├── components │ │ │ ├── DOMView.tsx │ │ │ ├── ECS.tsx │ │ │ ├── Emitter.tsx │ │ │ ├── Entity.tsx │ │ │ ├── Facet.ts │ │ │ └── index.ts │ │ ├── hooks │ │ │ ├── index.ts │ │ │ ├── useAnimationFrame.ts │ │ │ ├── useECS.tsx │ │ │ ├── useEngine.ts │ │ │ ├── useEntity.tsx │ │ │ ├── useFacet.ts │ │ │ ├── useQuery.tsx │ │ │ ├── useStatefulRef.ts │ │ │ ├── useSystem.ts │ │ │ └── useTimer.ts │ │ ├── index.ts │ │ └── lib │ │ │ ├── Query.ts │ │ │ ├── QueryRef.ts │ │ │ ├── System.ts │ │ │ ├── SystemsManager.ts │ │ │ ├── index.ts │ │ │ └── utils.ts │ ├── tsconfig.json │ ├── tsconfig.lib.json │ ├── tsconfig.spec.json │ └── yarn.lock └── three │ ├── .babelrc │ ├── .eslintignore │ ├── .eslintrc.json │ ├── CHANGELOG.md │ ├── README.md │ ├── jest.config.js │ ├── jest.stubs.js │ ├── package.json │ ├── src │ ├── components │ │ ├── ThreeView │ │ │ ├── ThreeView.spec.tsx │ │ │ ├── index.tsx │ │ │ └── styles.module.scss │ │ └── index.ts │ ├── index.ts │ └── utils │ │ └── fog │ │ ├── PerlinNoise.ts │ │ └── fogReplace.ts │ ├── tsconfig.json │ ├── tsconfig.lib.json │ ├── tsconfig.spec.json │ └── yarn.lock ├── nx.json ├── package.json ├── static └── logo │ ├── black-transparent.gif │ ├── black-transparent.png │ └── logo.blend ├── tools ├── generators │ └── .gitkeep └── tsconfig.tools.json ├── tsconfig.base.json ├── workspace.json └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/workflows/merge.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/.github/workflows/merge.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true 3 | } -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/README.md -------------------------------------------------------------------------------- /apps/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/docs/.eslintignore: -------------------------------------------------------------------------------- 1 | .docusaurus 2 | -------------------------------------------------------------------------------- /apps/docs/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/.eslintrc.json -------------------------------------------------------------------------------- /apps/docs/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/.gitignore -------------------------------------------------------------------------------- /apps/docs/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/CHANGELOG.md -------------------------------------------------------------------------------- /apps/docs/api/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/docs/apiSidebars.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/apiSidebars.js -------------------------------------------------------------------------------- /apps/docs/babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/babel.config.js -------------------------------------------------------------------------------- /apps/docs/blog/2021-04-22-coming-soon.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/blog/2021-04-22-coming-soon.md -------------------------------------------------------------------------------- /apps/docs/blog/2021-04-24-hello-world.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/blog/2021-04-24-hello-world.md -------------------------------------------------------------------------------- /apps/docs/docs/core/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/docs/core/_category_.json -------------------------------------------------------------------------------- /apps/docs/docs/core/creating_an_ecs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/docs/core/creating_an_ecs.md -------------------------------------------------------------------------------- /apps/docs/docs/core/declaring_entities.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/docs/core/declaring_entities.md -------------------------------------------------------------------------------- /apps/docs/docs/core/defining_facets.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/docs/core/defining_facets.md -------------------------------------------------------------------------------- /apps/docs/docs/core/entity_views.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/docs/core/entity_views.md -------------------------------------------------------------------------------- /apps/docs/docs/core/hooks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/docs/core/hooks.md -------------------------------------------------------------------------------- /apps/docs/docs/core/overview.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/docs/core/overview.md -------------------------------------------------------------------------------- /apps/docs/docs/core/systems_and_queries.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/docs/core/systems_and_queries.md -------------------------------------------------------------------------------- /apps/docs/docs/introduction.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/docs/introduction.md -------------------------------------------------------------------------------- /apps/docs/docs/shoulders.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/docs/shoulders.md -------------------------------------------------------------------------------- /apps/docs/docs/three/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/docs/three/_category_.json -------------------------------------------------------------------------------- /apps/docs/docs/three/overview.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/docs/three/overview.md -------------------------------------------------------------------------------- /apps/docs/docs/three/threeview.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/docs/three/threeview.md -------------------------------------------------------------------------------- /apps/docs/docusaurus.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/docusaurus.config.js -------------------------------------------------------------------------------- /apps/docs/exampleSidebars.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/exampleSidebars.js -------------------------------------------------------------------------------- /apps/docs/examples/core/DOMParticles.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/examples/core/DOMParticles.md -------------------------------------------------------------------------------- /apps/docs/examples/core/FacetObserver.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/examples/core/FacetObserver.md -------------------------------------------------------------------------------- /apps/docs/examples/core/MinimalExample.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/examples/core/MinimalExample.md -------------------------------------------------------------------------------- /apps/docs/examples/core/MultipleQueries.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/examples/core/MultipleQueries.md -------------------------------------------------------------------------------- /apps/docs/examples/core/MultipleSystems.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/examples/core/MultipleSystems.md -------------------------------------------------------------------------------- /apps/docs/examples/core/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/examples/core/_category_.json -------------------------------------------------------------------------------- /apps/docs/examples/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/examples/index.md -------------------------------------------------------------------------------- /apps/docs/examples/three/BoidExample.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/examples/three/BoidExample.md -------------------------------------------------------------------------------- /apps/docs/examples/three/ParticleSystem.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/examples/three/ParticleSystem.md -------------------------------------------------------------------------------- /apps/docs/examples/three/SimpleCube.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/examples/three/SimpleCube.md -------------------------------------------------------------------------------- /apps/docs/examples/three/SpinningCube.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/examples/three/SpinningCube.md -------------------------------------------------------------------------------- /apps/docs/examples/three/UseCannon.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/examples/three/UseCannon.md -------------------------------------------------------------------------------- /apps/docs/examples/three/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/examples/three/_category_.json -------------------------------------------------------------------------------- /apps/docs/sidebars.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/sidebars.js -------------------------------------------------------------------------------- /apps/docs/src/components/Codeblock/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/src/components/Codeblock/index.tsx -------------------------------------------------------------------------------- /apps/docs/src/components/Example/index.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/src/components/Example/index.module.scss -------------------------------------------------------------------------------- /apps/docs/src/components/Example/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/src/components/Example/index.tsx -------------------------------------------------------------------------------- /apps/docs/src/components/Warning/index.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/src/components/Warning/index.module.scss -------------------------------------------------------------------------------- /apps/docs/src/components/Warning/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/src/components/Warning/index.tsx -------------------------------------------------------------------------------- /apps/docs/src/pages/index.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/src/pages/index.module.scss -------------------------------------------------------------------------------- /apps/docs/src/pages/index.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/src/pages/index.scss -------------------------------------------------------------------------------- /apps/docs/src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/src/pages/index.tsx -------------------------------------------------------------------------------- /apps/docs/src/scenes/BoidExample.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/src/scenes/BoidExample.tsx -------------------------------------------------------------------------------- /apps/docs/src/scenes/BoidScene.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/src/scenes/BoidScene.tsx -------------------------------------------------------------------------------- /apps/docs/src/scenes/DOMParticles.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/src/scenes/DOMParticles.tsx -------------------------------------------------------------------------------- /apps/docs/src/scenes/FacetObserver.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/src/scenes/FacetObserver.tsx -------------------------------------------------------------------------------- /apps/docs/src/scenes/MinimalExample.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/src/scenes/MinimalExample.tsx -------------------------------------------------------------------------------- /apps/docs/src/scenes/MultipleQueries.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/src/scenes/MultipleQueries.tsx -------------------------------------------------------------------------------- /apps/docs/src/scenes/MultipleSystems.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/src/scenes/MultipleSystems.tsx -------------------------------------------------------------------------------- /apps/docs/src/scenes/ParticleSystem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/src/scenes/ParticleSystem.tsx -------------------------------------------------------------------------------- /apps/docs/src/scenes/SimpleCube.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/src/scenes/SimpleCube.tsx -------------------------------------------------------------------------------- /apps/docs/src/scenes/SpinningCube.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/src/scenes/SpinningCube.tsx -------------------------------------------------------------------------------- /apps/docs/src/scenes/UseCannon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/src/scenes/UseCannon.tsx -------------------------------------------------------------------------------- /apps/docs/src/styles/site.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/src/styles/site.scss -------------------------------------------------------------------------------- /apps/docs/src/typings.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/src/typings.d.ts -------------------------------------------------------------------------------- /apps/docs/static/img/black-transparent.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/static/img/black-transparent.gif -------------------------------------------------------------------------------- /apps/docs/static/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/static/img/favicon.ico -------------------------------------------------------------------------------- /apps/docs/static/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/static/img/logo.png -------------------------------------------------------------------------------- /apps/docs/static/img/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/static/img/logo.svg -------------------------------------------------------------------------------- /apps/docs/static/img/white-transparent.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/static/img/white-transparent.gif -------------------------------------------------------------------------------- /apps/docs/static/models/plane1.glb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/static/models/plane1.glb -------------------------------------------------------------------------------- /apps/docs/static/models/plane1.gltf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/static/models/plane1.gltf -------------------------------------------------------------------------------- /apps/docs/static/models/plane2.glb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/static/models/plane2.glb -------------------------------------------------------------------------------- /apps/docs/static/models/plane2.gltf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/static/models/plane2.gltf -------------------------------------------------------------------------------- /apps/docs/static/models/plane3.glb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/static/models/plane3.glb -------------------------------------------------------------------------------- /apps/docs/static/models/plane3.gltf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/static/models/plane3.gltf -------------------------------------------------------------------------------- /apps/docs/static/models/react-ecs-logo.gltf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/static/models/react-ecs-logo.gltf -------------------------------------------------------------------------------- /apps/docs/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/apps/docs/tsconfig.json -------------------------------------------------------------------------------- /babel.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "babelrcRoots": ["*"] 3 | } 4 | -------------------------------------------------------------------------------- /bin/publish-libs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/bin/publish-libs.sh -------------------------------------------------------------------------------- /bin/publish-site.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/bin/publish-site.sh -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/jest.config.js -------------------------------------------------------------------------------- /jest.preset.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/jest.preset.js -------------------------------------------------------------------------------- /libs/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /libs/boids/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/boids/.babelrc -------------------------------------------------------------------------------- /libs/boids/.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /libs/boids/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/boids/.eslintrc.json -------------------------------------------------------------------------------- /libs/boids/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/boids/CHANGELOG.md -------------------------------------------------------------------------------- /libs/boids/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/boids/README.md -------------------------------------------------------------------------------- /libs/boids/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/boids/jest.config.js -------------------------------------------------------------------------------- /libs/boids/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/boids/package.json -------------------------------------------------------------------------------- /libs/boids/src/entities/BoidSim/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/boids/src/entities/BoidSim/index.tsx -------------------------------------------------------------------------------- /libs/boids/src/entities/Plane/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/boids/src/entities/Plane/index.tsx -------------------------------------------------------------------------------- /libs/boids/src/entities/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/boids/src/entities/index.ts -------------------------------------------------------------------------------- /libs/boids/src/facets/Acceleration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/boids/src/facets/Acceleration.ts -------------------------------------------------------------------------------- /libs/boids/src/facets/Neighbor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/boids/src/facets/Neighbor.ts -------------------------------------------------------------------------------- /libs/boids/src/facets/Teleporter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/boids/src/facets/Teleporter.tsx -------------------------------------------------------------------------------- /libs/boids/src/facets/Tracker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/boids/src/facets/Tracker.ts -------------------------------------------------------------------------------- /libs/boids/src/facets/Velocity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/boids/src/facets/Velocity.ts -------------------------------------------------------------------------------- /libs/boids/src/facets/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/boids/src/facets/index.ts -------------------------------------------------------------------------------- /libs/boids/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/boids/src/index.ts -------------------------------------------------------------------------------- /libs/boids/src/systems/AlignSystem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/boids/src/systems/AlignSystem.ts -------------------------------------------------------------------------------- /libs/boids/src/systems/CohesionSystem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/boids/src/systems/CohesionSystem.ts -------------------------------------------------------------------------------- /libs/boids/src/systems/MoveSystem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/boids/src/systems/MoveSystem.ts -------------------------------------------------------------------------------- /libs/boids/src/systems/NeighborDebugSystem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/boids/src/systems/NeighborDebugSystem.tsx -------------------------------------------------------------------------------- /libs/boids/src/systems/NeighborSystem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/boids/src/systems/NeighborSystem.ts -------------------------------------------------------------------------------- /libs/boids/src/systems/SeparationSystem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/boids/src/systems/SeparationSystem.ts -------------------------------------------------------------------------------- /libs/boids/src/systems/TeleportSystem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/boids/src/systems/TeleportSystem.ts -------------------------------------------------------------------------------- /libs/boids/src/systems/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/boids/src/systems/index.ts -------------------------------------------------------------------------------- /libs/boids/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/boids/tsconfig.json -------------------------------------------------------------------------------- /libs/boids/tsconfig.lib.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/boids/tsconfig.lib.json -------------------------------------------------------------------------------- /libs/boids/tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/boids/tsconfig.spec.json -------------------------------------------------------------------------------- /libs/core/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/.babelrc -------------------------------------------------------------------------------- /libs/core/.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /libs/core/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/.eslintrc.json -------------------------------------------------------------------------------- /libs/core/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/CHANGELOG.md -------------------------------------------------------------------------------- /libs/core/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/README.md -------------------------------------------------------------------------------- /libs/core/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/jest.config.js -------------------------------------------------------------------------------- /libs/core/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/package.json -------------------------------------------------------------------------------- /libs/core/src/components/DOMView.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/src/components/DOMView.tsx -------------------------------------------------------------------------------- /libs/core/src/components/ECS.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/src/components/ECS.tsx -------------------------------------------------------------------------------- /libs/core/src/components/Emitter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/src/components/Emitter.tsx -------------------------------------------------------------------------------- /libs/core/src/components/Entity.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/src/components/Entity.tsx -------------------------------------------------------------------------------- /libs/core/src/components/Facet.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/src/components/Facet.ts -------------------------------------------------------------------------------- /libs/core/src/components/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/src/components/index.ts -------------------------------------------------------------------------------- /libs/core/src/hooks/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/src/hooks/index.ts -------------------------------------------------------------------------------- /libs/core/src/hooks/useAnimationFrame.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/src/hooks/useAnimationFrame.ts -------------------------------------------------------------------------------- /libs/core/src/hooks/useECS.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/src/hooks/useECS.tsx -------------------------------------------------------------------------------- /libs/core/src/hooks/useEngine.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/src/hooks/useEngine.ts -------------------------------------------------------------------------------- /libs/core/src/hooks/useEntity.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/src/hooks/useEntity.tsx -------------------------------------------------------------------------------- /libs/core/src/hooks/useFacet.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/src/hooks/useFacet.ts -------------------------------------------------------------------------------- /libs/core/src/hooks/useQuery.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/src/hooks/useQuery.tsx -------------------------------------------------------------------------------- /libs/core/src/hooks/useStatefulRef.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/src/hooks/useStatefulRef.ts -------------------------------------------------------------------------------- /libs/core/src/hooks/useSystem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/src/hooks/useSystem.ts -------------------------------------------------------------------------------- /libs/core/src/hooks/useTimer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/src/hooks/useTimer.ts -------------------------------------------------------------------------------- /libs/core/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/src/index.ts -------------------------------------------------------------------------------- /libs/core/src/lib/Query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/src/lib/Query.ts -------------------------------------------------------------------------------- /libs/core/src/lib/QueryRef.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/src/lib/QueryRef.ts -------------------------------------------------------------------------------- /libs/core/src/lib/System.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/src/lib/System.ts -------------------------------------------------------------------------------- /libs/core/src/lib/SystemsManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/src/lib/SystemsManager.ts -------------------------------------------------------------------------------- /libs/core/src/lib/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/src/lib/index.ts -------------------------------------------------------------------------------- /libs/core/src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/src/lib/utils.ts -------------------------------------------------------------------------------- /libs/core/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/tsconfig.json -------------------------------------------------------------------------------- /libs/core/tsconfig.lib.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/tsconfig.lib.json -------------------------------------------------------------------------------- /libs/core/tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/tsconfig.spec.json -------------------------------------------------------------------------------- /libs/core/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/core/yarn.lock -------------------------------------------------------------------------------- /libs/three/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/three/.babelrc -------------------------------------------------------------------------------- /libs/three/.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /libs/three/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/three/.eslintrc.json -------------------------------------------------------------------------------- /libs/three/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/three/CHANGELOG.md -------------------------------------------------------------------------------- /libs/three/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/three/README.md -------------------------------------------------------------------------------- /libs/three/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/three/jest.config.js -------------------------------------------------------------------------------- /libs/three/jest.stubs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/three/jest.stubs.js -------------------------------------------------------------------------------- /libs/three/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/three/package.json -------------------------------------------------------------------------------- /libs/three/src/components/ThreeView/ThreeView.spec.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/three/src/components/ThreeView/ThreeView.spec.tsx -------------------------------------------------------------------------------- /libs/three/src/components/ThreeView/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/three/src/components/ThreeView/index.tsx -------------------------------------------------------------------------------- /libs/three/src/components/ThreeView/styles.module.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /libs/three/src/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ThreeView'; -------------------------------------------------------------------------------- /libs/three/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './components'; 2 | -------------------------------------------------------------------------------- /libs/three/src/utils/fog/PerlinNoise.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/three/src/utils/fog/PerlinNoise.ts -------------------------------------------------------------------------------- /libs/three/src/utils/fog/fogReplace.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/three/src/utils/fog/fogReplace.ts -------------------------------------------------------------------------------- /libs/three/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/three/tsconfig.json -------------------------------------------------------------------------------- /libs/three/tsconfig.lib.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/three/tsconfig.lib.json -------------------------------------------------------------------------------- /libs/three/tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/three/tsconfig.spec.json -------------------------------------------------------------------------------- /libs/three/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/libs/three/yarn.lock -------------------------------------------------------------------------------- /nx.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/nx.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/package.json -------------------------------------------------------------------------------- /static/logo/black-transparent.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/static/logo/black-transparent.gif -------------------------------------------------------------------------------- /static/logo/black-transparent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/static/logo/black-transparent.png -------------------------------------------------------------------------------- /static/logo/logo.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/static/logo/logo.blend -------------------------------------------------------------------------------- /tools/generators/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tools/tsconfig.tools.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/tools/tsconfig.tools.json -------------------------------------------------------------------------------- /tsconfig.base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/tsconfig.base.json -------------------------------------------------------------------------------- /workspace.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/workspace.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dustinlacewell/react-ecs/HEAD/yarn.lock --------------------------------------------------------------------------------