Skip to content

Commit

Permalink
Added a better lollipop example. (CodingTrain#3453)
Browse files Browse the repository at this point in the history
* Added a better lollipop example.

Checkout the demo: https://editor.p5js.org/yathy2007/full/Nyhp2Hdtw

* Fixed the md file error.
  • Loading branch information
yathy2007 authored Dec 22, 2021
1 parent e8717e8 commit 8bb1d18
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions _beginners/p5js/5.1-function-basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ can_contribute: true
redirect_from:
- /Tutorials/5-functions/5.1-basics
- /Tutorials/5-functions/5.1-basics.html

contributions:
- title: "Better lollipop example (scaled lollipop sticks)"
author:
name: "Yatharth"
url: "https://github.com/yathy2007"
url: "https://editor.p5js.org/yathy2007/full/Nyhp2Hdtw"
source: "https://editor.p5js.org/yathy2007/sketches/Nyhp2Hdtw"
---

This video covers the basics of writing your own functions in JavaScript. What does it mean to define and call your own function? How can this make a program more modular?

0 comments on commit 8bb1d18

Please sign in to comment.