Modeling lens flares

A program I wrote in Scratch for modeling lens flares. It randomly generates lens flare patterns and displays them on screen. The patterns are composed of simple shapes, primarily circles and hexagons, which are randomly arranged and given random sizes. It was designed as a quick solution which could run fast while looking fairly realistic and aesthetically pleasing.

Randomly generated lens flare

The same lens flare displayed against a black background