Skip to content

Homework

eltib22 edited this page Oct 27, 2022 · 70 revisions

Welcome to the diap-creativecomputing-fall2022 wiki! This is for homework links & any questions!

Video Documentation October 26

Homework #6 Due: October 19

Questions

  1. I wanted to create a way to choose the image you draw with and change it using a variable based on position but I had issues with it, this is something I would like to try to work on more.
  2. Is there a way for me to connect a key pressed to a size, transparency or hue variable that I can increate and decrease by a single unit based on 2 different pressed keys, to make an image like a brush on photoshop?

Homework #5 Due: October 12

Questions

Homework #4 Due: September 28

Questions

  • I tried to use a for loop to load 3 random images, but it showed the same 3 random images. How should I use a for loop to load different random images? Can I define a function to refresh the webpage to get new random images rather than press the play button in the p5 editor? How can I only loop the background color but not affects the images?

Homework #3 Due: September 21

Questions

  • I tried to change the background color from black to white then rebounce to black as a loop. It was not successful and accidentally I got the current effect. It looks cool but I don't know what's happening. The console.log shows "NaN" - Wenjun

Homework #2 Due: September 14

Questions

  • I use getLevel() to get data from the audio base on volume. Can I get data from the audio base on the pitch as well? - Wenjun

Homework #1 Due: September 7

Questions

  • My question - Name