My first code

My name is Aaron this is my first code I have made and I have created a black(Fill) triangle with the outline (Stroke) Of red.

The function(what is going to happen) setup() (a function used to say a function is done only once instead of continuously looping )

And I create the canvas size because that is something that I only have to do one time.

I can make the canvas whatever width and height I like so long as it has a width and a height

Than I will make another function that says draw();

And now the color of the canvas can be made

After this now my

Background ();

Stroke();

strokeWeight();

Triangle();

And fill();

And this is how I got my triangle

Leave a comment