member since August 6, 2010
profile picture

portfolio of
Charles Cave

Linear Clock

Instead of being circular, this clock is linear with a background of 12 divisions with thicker lines every 3 divisions, corresponding to the five minute marks on a traditional clock face.

The clock has Four horizontal bars with text annotations:
Day of the year (orange) - each division on the scale corresponds to a month
Hour of the day (blue) - only changes on the hour
Minute of the hour (green) - only changes every minute
Seconds (red) - updated every second.
Bottom label shows day, time, percentage of day elapsed, date and day of year.

Digital Piano

A piano which can be played by clicking on the notes of the piano or using the keyboard. Note names and chromatic intervals are also displayed at the bottom of the display.

MOUSE PLAYING Click the lower half of a white key or a black key. A pink rectangle will display, indicating the note you pressed. The name of the is displayed below the keyboard in yellow.

S D G H I 2 3 5 6 7 9 0

Random Number Distribution

Visualize the distribution of numbers generated by the random() function in Processing. Generate a number between 1 and 20 and plot a histogram of occurrences.

Plot a horizontal line showing expected number of outcomes as well as minimum and maximum counts.

Star Polygon Explorer

A Star Polygon is drawn by first drawing a set of P points on a circle then drawing a line from each point to the point Q points away.

When Q is 1, regular polygons are drawn such as triangle, square, hexagon, octagon, etc.

Use the following keys to change the number of points, adjust the line thickness and the radius of a circle around each of the points.

z / x - rotate
q / w - decrease / increase number of points around the circle
a / s - decrease / increase the length of line to join the points
d / f - decrease / increase line thickness
e / r - decrease / increase size of c

Digital Stopwatch (with 7 segment LED)

This is a very simple digital stop watch. Use the following keys to control the operation

T or t - start the clock
S or s - stop the clock
C or c - Clear the Clock

All the work of displaying the 7 segment displays is in a font.

Colorful bugs

Random paths of a collection of 30 colorful bugs starting at the centre of the screen. A bug is a circle of diameter 4 pixels.

Basically an experiment in using an array to store a set of objects.

Timer for Toastmasters Speech Contest

This is a software simulation of Green/Yellow/Red lights used to time speeches in Toastmasters. This program is a useful tool to time your speeches and be aware of the timing milestones as you deliver your speech.

The timer is started (or restarted) by entering a number corresponding to the time as shown on the menu.

2 - Timing for 1 - 2 minute speech
6 - Timing for 4 - 6 minute speech
7 - Timing for 5 - 7 minute speech

The clock face will flash once you are past the disqualification time

Analog Wall Clock with digital time

My first experiment with Processing to display an analogue wall clock as well as the digital time.
followed by

collections and classrooms

not contributed to any collections or classrooms yet.


Share Share Subscribe to sketches