Teste af forståelse
Indholdsfortegnelse
I denne øvelse skal i trykke på linket under hver opgave og se hvad i skal programmere. Man må gerne gå sammen to og to og samarbejde om at løse opgaverne.
Opgave 9:
https://editor.p5js.org/JensValdez/full/vsXe-_Fo0
Hint
Brug p5js dist funktionen og spørg på om d < r1 + r2
Opgave 10:
https://editor.p5js.org/JensValdez/full/hbJbfPusp
Hint
Se hvad der sker når man kun tager musen ud af hhv. x og y aksen
Opgave 11:
Gå sammen to og to. Skiftes til at tegne eller beskrive noget nemt som den anden skal lave. Det må ikke være for svært til at starte med.
Check your understanding
In this exercise, you must click the link under each task to see what you need to program. You are welcome to work in pairs and collaborate on solving the tasks.
Task 9:
https://editor.p5js.org/JensValdez/full/vsXe-_Fo0
Hint
Use the p5js dist function and check if d < r1 + r2
Task 10:
https://editor.p5js.org/JensValdez/full/hbJbfPusp
Hint
See what happens when you only move the mouse out of the x and y axes, respectively
Task 11:
Work in pairs. Take turns drawing or describing something simple for the other person to create. It shouldn't be too difficult to start with.