Gaussian Distribution with QGraphicsView
During my semester-break I've played around with the QGraphicsView component which was introduced a while ago. My goal was to implement the standard-experiment for the Gaussian Distribution (see schema).

Imagine you have 1000 balls and throw these (in sequence) in the opening on top of this vessel (see picture). The sum of each stack of balls results in an Gaussian Distribution form (shown at the bottom of the picture: red ball stacks).
I've implemented this behavior with the qrand() function - to decide if the ball goes left or right. After running the application the embedded QGraphicsView animate the results (the ball-stacks) using a QGraphicsItemAnimation. After finishing this results-animation the applications also shows some statistic-values:
average value - μ: (x1+x2+...+xn) / n
standard degression - σ: sqrt((x1-µ)² + (x2-µ)² + ... + (xn-µ)²)
Here is a screenshot of the application GaussDistri:

As you already suppose the program is written in C++/Qt and based on a qmake-project - using Qt Creator. I provide the source-code later ...
Update: it seems that I've mixed-up μ and σ in the app (see screenshot) ...