Skip to content

Javascript/p5.js exercises in critical webcoding for learning what you can track with a simple browser window.

License

Notifications You must be signed in to change notification settings

Shintaro-Miyazaki/critical-webcoding-p5js

Repository files navigation

critical-webcoding-p5js

A collection of exercises from a course directed by Yann Martins and me in Autumn/Winter 2018 as a preparation for upcoming courses.

To test the project download the repository and open the index.html files inside the folders with a browser.

 

001 mouse_tracker simple

Mouse tracking starts upon clicking on „rec“ and is stopped/revealed when clicking on „play“. The key code is on sketch.js, which is inside the folder „js“. With this code we introduced the Document Object Model (DOM) as a way to interface with HTML and XML documents. A DOM is an object-oriented representation (a model) of the web page, which can be modified with a scripting language such as JavaScript. Here the DOM principle is used to access the buttons.

002 mouse_tracker unload

Same thing as 001, but with tracking enable already after webpage is loaded. See sketch.js and index.html files for more.

About

Javascript/p5.js exercises in critical webcoding for learning what you can track with a simple browser window.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published