© 2016 by Alexandra Lopez. Proudly created with Wix.com

Letters Fun - Week 5

October 24, 2017

As I started to work with the letters of my name in other class' projects, I wanted to explore the array function using letters that are displayed on the screen by mousePressed function. I started with one box that allows to display one letter at the time, I also use the random size and color function so each letters is different each time I click.

 Letters Array 1 Code

In the second sketch I wanted to have 9 boxes, one for each letter, and the array containing the letters of my name. Each letter has a random size and color and the idea is to place each one in a box when it reaches the last box (9th box) the background change and the array starts again. For this I used the loop function.

Letters Array 2 Code

Share on Facebook
Share on Twitter
Please reload

Recent Posts

November 5, 2018

November 5, 2018

November 5, 2018

November 5, 2018

November 4, 2018

October 9, 2018

October 9, 2018

October 8, 2018

October 8, 2018

Please reload

Search By Categorie
Follow Us
  • Facebook Basic Square
  • Twitter Basic Square
  • Google+ Basic Square