Lecture 5 Slide Deck
This week (and partly next week) we are going to
do an in-class exercise on programming in the browser, manipulating
the DOM, and adding buttons which accept user interaction.
Drawing and animating in the browser.
In class, and in the video, we step through these goals:
- Draw a stimulus on the screen (e.g., a circle)
- Add a button to advance to the next trial
- Display a sequence of trials
Please try to follow along with these steps to make your own basic experiment.