Of course.
The paint() method can be modified to draw several dozen
snowflakes of random colors at random locations:
A counting loop controls how many flakes are drawn. The location and size of each flake is determined by:
x = rand.nextInt( width );
y = rand.nextInt( height );
size = rand.nextInt( 20 );
How many different colors are there in this picture?