Skip to content

ShadowMitia/bevy-sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Program examples and tests using Bevy engine.

Program list

Complete list:

  • 10print
  • aabb_collisions
  • boids
  • circles
  • game_of_life
  • image_downloader
  • mandelbrot
  • shaders

10Print

./images/10print.png

Run with :

cargo run --bin 10print

Simple AABB-collision example (detection and resolution)

Run with :

cargo run --bin aabb_collisions

Boids

A 2D boids “flocking” simulation as seen http://www.cs.toronto.edu/~dt/siggraph97-course/cwr87/#foot2 Uses a quadtree to deal with spatial partitionning.

References:

Run with :

cargo run --bin boids

Mandelbrot

Generates a single image of the mandelbrot fractal.

./images/mandelbrot.png

Run with :

cargo run --bin mandelbrot

Simple AABB-collision example (detection and resolution)

Run with :

cargo run --bin aabb_collisions

Boids

A 2D boids “flocking” simulation as seen http://www.cs.toronto.edu/~dt/siggraph97-course/cwr87/#foot2 Uses a quadtree to deal with spatial partitionning.

References:

Run with :

cargo run --bin boids

Game of life

Simple cellular automaton

./images/game_of_life.png

Run with :

cargo run --bin game_of_life

shaders : couple of shader examples and shader hot reloading

Implemented shaders:

  • Phong
  • BlinnPhong
  • Toon
  • color (applies just a color to the object)

./images/shaders.png

Run with :

cargo run --bin shaders