This applet displays five animated lines of random colour and thickness.
The thickness is randomised from 1 to maxThickness, which can be easily defined on the beginning of the main source file.
The colour is randomised by using the random hue in HSB colour space.
The vector (speed and direction) and initial Y coordinate are passed by the object constructor.
This is implemented using OO programming.
Date : 2013
Nombre de vues : 217
More on :
plus d'infos :