This project is made as a final project for LabView course at Wrocław University of Science and Technology. It's consists of simple physics engine and four demonstrations. Physics included in simulations restricts only to gravity and collisions between circle and rectangle shapes
It is a gas simulation, in which particles interact with each other and with walls of the container. We can control following parameters:
- Object amount - number of objects simulated simultaneously. Supported values range from 0 to 500.
- Gravity Strength - force applied to each particle. Gravity vector points downwards.
- Speed Range - if toggled on, speed values are randomly choosen from range of values. In other case every particle has the same start velocity.
- Diffusion - if toggled on, diffusion of blue and red gas paritcles is presented.
- Random Color - if toggled on, every particles has different color.
- Random Mass - if toggled on, every particles has different mass.
- Has Barrier - if toggled on, menu for controlling barrier placed at the middle of the screen appears.
Simulation of Brownian motion. At the start in the center big red particle is placed. Many smaller particlesact on it causing slow drift from starting positon. Following parameters can be controlled:
- Object amount - number of objects simulated simultaneously. Supported values range from 0 to 500.
- Min Speed, Max Speed - range of speeds for smaller particles.
- Random Color - if toggled on, the biggest particle has random color.
- Mass - mass of the biggest particle.
- Radius - radius of the biggest particle.
Simulation of collision between two particles. For each of the balls we can specify:
- Speed - start speed of ball.
- Angle - start movement angle measured from horizontal direction.
- Color - color of the particle.
- Mass - mass of the particle.
- Radius - radius of the particle.
Simple pool simulation. We can control:
- Speed - start speed of left ball
- Angle - angle at which left ball starts to move
- Color - color of the left ball