Here's one of the basic principles of programming, conditional statements. Heres a break down of the structure for what an if statement looks like. When coding we have to come up with a logic flow that will get the program to do what we want it to. The values true and false are boolean data … Continue reading If/Else Statements
Author: stephenespinal22
Homework…Objects and Arrays
We have learned a lot within the past few days and we were asked to build projects about defining our own functions, defining an object, and then using an array to display shapes. Most of the topics I'll cover in this post can be found in detail here. (the M in the function is for … Continue reading Homework…Objects and Arrays
Pair Programming Exercises
So when people think of a computer programmer, they think about a guy sitting alone in a cubicle blocked off from the world. It turns out that this idea couldn't be further from the truth. Almost all programs and applications are a team effort and our cohort was introduced to this concept through pair programming … Continue reading Pair Programming Exercises
Moving A Fire Truck
Using some fundamentals we learned last time, I put some shapes together to make a truck. So last time the values for creating the shapes we made in P5JS were hard-coded in, meaning the values once used in the function couldn't be modified or changed. This time we will get a bit more advanced. Using … Continue reading Moving A Fire Truck
Building Blocks
So as a beginning step to learning code and programming, P5JS can help with visualizing some basics. This is the basic editor for P5Js. As soon as you open it, a pre-generated code is conjured up for you. These two functions are the bread and butter for the structure to what we can do with … Continue reading Building Blocks
Command Line… What is it?
I'm sure we've all seen a screen similar to this one on someone's computer at Starbucks and wondered, what is this? This is a sneak peek under the hood of what it's like to use your computer without all the fancy visual representations we are all used to. As a small example, this is actually … Continue reading Command Line… What is it?
What is P5JS?
Surfing the web in 2019 has become as normal to society as walking down the street. One could compare it to walking down a main street in a town. There are lots of colors lights and other attractions to behold. It's not often one stops to think about what is under the hood to make … Continue reading What is P5JS?