Although links to all exercises can be found at the end of the respective exercise post, here is a convenient link to the directory with all the HTML5/JS exercises:
http://mlab.taik.fi/mediacode/coursefiles/course_2011_10/
Categories
-
Recent Posts
Recent Comments
- HTML 5 Canvas: Full-screen and Image Resize « Valeria's blog on JS exercise 10, day 5 – Image resize
- HTML5 Canvas – Square Dragging « Valeria's blog on JS exercise 9, day 5 – Drag Square
- JS (extra) exercise – Simple hit test | Software Studies for Media Designers on JS exercise 9, day 5 – Drag Square
- JS exercise, day 6 – Smiley revisited, in Paper.JS | Software Studies for Media Designers on JS exercise 3, day 2 – Paths
- HTML5 Canvas – Arrays and Random text (Photowash edit) « Valeria's blog on JS exercise 8, day 4 – Random Text
Archives
Meta




In the second exercise of today, we explored two topics – placing image files on the canvas, and canvas resizing to fit the browser window size. The objective is to line up a series of “clones” of the same image across the browser window, and make this line stay consistent independent of window size. The result was an alignment of stars, with an outlier rebel star thrown in. This is the whole code:
In the first exercise of today, we explored how to create a drag and drop functionality. The aim was to enable dragging a square around the screen, with the option of leaving a trail or not.
In the second half of today’s class, we looked into arrays, text display and keyboard input, and mixed all of this into one exercise. The aim of the exercise is to juxtapose successive random quotes on the canvas.
The first exercise of today aimed to demonstrate the usefulness of “
