|
- C1. Experiments with the P5 sketch Ocular Harpsichord #5.
- Download and unzip the sketch:
Ocular-05.zip
- Change images, sizes, positions, add motions, etc as you wish.
- Make a short video of a song fragment and post it as HW-07A.
- C2. Experiments with the P5 sketch Ocular Harpsichord #6.
- Download and unzip the sketch:
Ocular-06.zip (25 MB, long download)
- Change videos, sizes, positions, add motions, etc as you wish.
- Make a short video of a song fragment and post it as HW-07B.
- WARNING: These sketches will work from your personal website,
- but not from your personal computer.
- HINTS:
- #1. suppose you have a directory (folder) say My P5 Work on your personal laptop
- it contains: libraries, styles (optiional), and Ocular-05
- this latter contains: Images, index.html, noteA.js, …, notesG.js, sketch.js
- #2. you upload this entire folder to your UCSC website
- #3. you point your browser to the file index.html on your website
- (instead of the file index.html on your personal laptop)
- it will be convenient to save this link as a browser Favorite
- #4. you may now use the debugger of your browser as usual to debug your code)
- a safe way to work with these files is to edit local files only
(one at a time) then
- Save, Upload, Refresh,
and examine the Error Console of the browser
- when you get around to Ocular-06,
it is not necessary to upload the libraries again --
just upload Ocular-06 into your P5 Work folder
Revised 07 Mar 2017 by Ralph
|