Skip to content

A simple game for playing with particles. Much WIP.

License

Notifications You must be signed in to change notification settings

krpors/fragments

Repository files navigation

fragments

This is a sort of re-implementation of fluid-fun.

Things to do:

  1. Create a grid
  2. Particle collision
  3. Particle response on collision

Broad phase collision detection

Use a spatial grid. This need to be configurable (i.e. grow, shrink) to check the optimal configuration and to play with.

An emitter creates particle instances and will add them to the array of particles. Therefore each emitter maintains the particles.

After each particle updates its position, determine the Grid position

window width: 800 grid size: 10

800 / 10 = 80

About

A simple game for playing with particles. Much WIP.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published