Code created using Processing