Skip to content

Commit

Permalink
week 6, debugging link
Browse files Browse the repository at this point in the history
  • Loading branch information
mnstri committed Oct 9, 2023
1 parent 1377a7e commit c13b892
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ One of the top perks of choosing this beginner group is that you will get your o

In cases when your duck is not around you, there is an online variety of the duck, [DuckGPT](https://duckgpt.dev/). It is very realistic!

### p5.js Guide to Debugging

There is [a nice illustrated guide available from p5.js on debugging.](https://p5js.org/learn/debugging.html)

## Matti and Calvin

After you have exhausted all other options (or sometimes earlier), you can come ask help from Matti or Calvin.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ p5js-widget: true

- [Marshmallow Laser Feast](https://www.marshmallowlaserfeast.com/)

---

{{<hint danger>}}
**The topic this week can be complex, overwhelming, and confusing at first. Don't be discouraged if you feel that way. Just keep on going. Many of these things will be repeated over and over again and they will slowly get more familiar.**
{{</hint>}}

## Objects in JavaScript

Objects are a handy way to **encapsulate** data and functions together. Or to be more precice we can create objects that have:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,9 @@ class Walker{
fill(this.c);
noStroke();
circle(this.x,this.y,this.s);
fill(255);
textAlign(CENTER);
text(this.name,this.x,this.y);
fill(255);
textAlign(CENTER);
text(this.name,this.x,this.y);
}
}
{{</p5js>}}
Expand Down Expand Up @@ -232,9 +232,9 @@ class Walker{
fill(this.c);
noStroke();
circle(this.x,this.y,this.s);
fill(255);
textAlign(CENTER);
text(this.name,this.x,this.y);
fill(255);
textAlign(CENTER);
text(this.name,this.x,this.y);
}
}
{{</p5js>}}
Expand Down

0 comments on commit c13b892

Please sign in to comment.