File Exchange

image thumbnail

Piccolo Particle Simulator

version (106 KB) by Paolo Di Prodi
A lightweight particle simulator with collision detection.


Updated 26 Nov 2010

View License

In this version the particles are bouncing in a square or circular bounding box with perfectly elastic collisions.
Particles have masses and radius.
It's a very educational script to learn something about particle physics.
You can set a flag and save the trajectories on a file log.

Cite As

Paolo Di Prodi (2020). Piccolo Particle Simulator (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)

This is very inspiring.


Circle boundary box and file log.

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: Draw a circle.