Journal Entry about Remix Code Assignment.
- Gabriela Gor
- Apr 17, 2020
- 1 min read
Updated: Apr 30, 2020
When creating my project I used the following elements noStroke and Nofill this Disables drawing the stroke (outline). If both noStroke() and noFill() are called, nothing will be drawn to the screen. In addition I also used the else;if method. The if-else statement helps control the flow of your code.
A condition is placed between the parenthesis following 'if', when that condition evalues to truthy, the code between the following curly braces is run. Alternatively, when the condition evaluates to falsy, the code between the curly braces that follow 'else' is run instead. The 'if' statement executes a statement if a specified condition is truthy. If the condition is falsy, another statement can be executed. You can see my code below.
https://editor.p5js.org/Gabbygor/sketches/wh8Bo0XTF
Kommentare