# My Fall Projects

### Office Ethics Project

In this assignment, I had to come up with a solution to a scenario in a regular office environment. In summary, the scenario talked about how there was a conflict in the workplace in which people were not doing their part in a project which would earn the company a 19 million dollar foundation. The scenario described how each person on my team worked, and what the main issues were within my team. Based on my own experiences as well as professionalism, I had to draw up a solution for this workplace-type conflict.

CLICK HERE to see the whole scenario.

### Cats and Dogs + Dominant/Recessive Models

In this project, I made a slider bar for the amount of cats there were. With this, I set an absolute number of dogs that cannot be changed, as well as a cell that shows the total number of cats and dogs I have. The slider bar is used to change the number of cats, which would change the total at the end. Also, I made an equation to model the chance for getting a dominant or recessive gene, which essentially models 50/50 chances. With this, I compared the experimental and conditional probabilities of the two occurences and found out that as you execute the command/equation more, the conditional probability and experimental probability become about the same. In general, I modeled the likelihood of a child inheriting a dominant or recessive trait from their parents.

### Square Root of x+7.316 + Diffusion Models

For this, I inserted a formula for the square root of the value in one cell plus 7.316, and the value that I refer to in the formula uses the value in the cell with the formula. Like this, I created a circular reference, so the values get closer and closer to each other as the formula is calculated more and more. Using this knowledge, I created a hot to cold diffusion model using conditional formatting, in which circular references were placed all over an area in the spreadsheet, and the formulas were calculated to make it seem like heat was diffusing from one side of the spreadsheet area to the other. I placed 50s on one side of the spreadsheet, which were affiliated with the color red, and 0s were everywhere else, which was the color blue. As the formula was repeatedly calculated, I could see the gradient of red to blue going from left to right on the spreadsheet.

### Simple Population with Birth Rate Slider Model

This model shows the total population of a place. The population starts at 2 in the very beginning, and the user can control the birth rate with the slider given in the Excel model to increase or decrease the population over a period of time. Competition is also a factor in this model, as it limits the growth of the pouplation, so it does not continuously grow exponentially. This model is a direct representation of the equation "HAVE = HAD + CHANGE" because you can get the current population by changing what the population was before. Lastly, the change in the population per unit of time is proportional to the population itself.

### Rabbits with Competition Model

This model, which shows the population of rabbits with the added factor of population, is very similar to the above model regarding simple population with the birth rate slider. With this model, you can control the birth fraction over a unit of time of the population of rabbits. Also you can adjust the amount of competition in the ecosystem that this certain rabbit population lives in, so the population does not exponentially grow forever. Lastly there is a graph included with this model which visually shows the population of rabbits over time, which is measured in months. Vensim is required to run this model. CLICK HERE to download Vensim.

### Durham Population Model

This model shows the population of the city of Durhan, which is located in central North Carolina. In this model, the intial population starts at around 267,000 people. The user can adjust the amount of people moving per unit of time with the slider bar, which is located under the arrow under the rate hourglass, which is named "people moving". This model also models "HAVE = HAD + CHANGE" as we can find the current population of Durham by using what the population was before and adding in the change, which is the number of people moving into Durham. Lastly, there is a graph which visually shows the population of Durham over time. Vensim is required to run this model. CLICK HERE to download Vensim.

### Temperature Model

This is a simple model which shows the change in temperature over a period of time, measured in hours. The initial temperature is 100 degrees Fahrenheit. The rate of temperature change can be varied with the slider bar under the variable "rate of temperature change". As the rate of change increases, the temperature decreases over a certain period of time. This model represents the equation "HAVE = HAD + CHANGE" because we can find the current temperature by using what the temperature was beforehand and applying the change in temperature. Vensim is required to run this model. CLICK HERE to download Vensim.

### Fermium 252 Model

This is a model that shows the exponential decay of Fermium-252 over a period of time measured in hours. The rate of decay is fixed, resulting in the complete decay of Fermium-252 occuring in about 7 hours. This model represents "HAVE = HAD + CHANGE" because we can find the current amount of Fermium by using the amount of Fermium beforehand and applying any change in the amount. Vensim is required to run this model. CLICK HERE to download Vensim.

### Rabbits Carrying Capacity Model

This is a model that shows the population of rabbits with the limiting factors of competition as well as carrying capacity. The carrying capacity and competition can be adjusted, as well as the birth fractions so the user can identify the carrying capacity in which the population will be equal to another population with competition. For example, a 500 carrying capacity with a 0.5 birth fraction would have the same graph and population as another rabbit population with a compeition with 0.002 and the same birth fraction. The competition graph is in blue while the carrying capacity graph is in red. Vensim is required to run this model. CLICK HERE to download Vensim.

### AgentCubes Disease Model

This is a simple model of disease progression in a population. If a healthy person is next to a sick person, there is a percent chance that the healthy person changes into a sick person. Healthy people more randomly in the world. Sick people move randomly in the world, but slower. The doctor, controlled by the user, heals a sick person it is adjacent to. The doctor changes a sick person into a healthy person. The counter counts how many sick and healthy people there are in the world, and reproduces a line graph showing the changes in the populations.

### Fast Food Project (Group Project 1)

This whole project shows all information related to any kind of Fast Food restaurant, including what goes on inside the restaurant, as well as what happens "behind the curtains" with all the wages, employees and food supply. The hypothesis was that if a restaurant is economically thriving, then there would be more people going through and eating food from the restaurant. We expected our system model to project a restaurant's economic stability over time, assuming that they make good business. We expected our agent model to do something slightly different, and simulate how the outside of a restaurant would function over a period of time, in terms of what goes on with customers and consumers. These models are extremely useful in seeing and projecting a fast food' restaurant's activity.

# My Spring Projects

### Bouncing Particles

This is a JavaScript model which shows the movement of bouncing particles in an enclosed area. There is a world with multiple randomly-placed, randomly-sized, stationary particles. There are buttons to play, step, and reset the model. Stepping the model causes the particle to move. If the particle hits a wall, it bounces off. Resetting the model places the particle at a new random location with a new random size. Playing the model causes it to step repeatedly. Resetting the model causes it to stop playing. Once the play button has been clicked, it cannot be clicked again until the model is reset.

### Autobiographical Programming Sketch

In this project, I just went over my background in programming, because we were starting the programming part of the module. In summary, I mentioned how I started block coding while in elementary school, and how I am eager to learn more programming through the Apprenticeship program.

### Planetary Bodies

This is a JavaScript model which shows the movement of planetary bodies in our Solar System. There is a square world with 9 bodies representing the bodies in our solar system. Each body has a color representing the planet in our solar system. Each body will initially be a scale distance away from the middle body. Each body is also assigned a value for its real-life mass. Only The Sun, Mercury, Venus, Earth, and Mars are shown in the world but the rest are still drawn; you just can’t see them. The planets are their proportional distance from the sun but aren’t their proportional size. The point X=0, Y=0 is the middle of the world and the planets are aligned on the x-axis and have velocity in the negative y-direction. When the model is played or stepped or played the bodies other than the Sun move according to their velocity and the gravity of the other bodies. There are checkboxes to toggle on or off the different bodies in the model, which only comes into effect after the model is reset. There are also checkboxes to toggle on and off the planet's gravities which also only comes into effect after the model is reset. Additionally, there is a checkbox to toggle the bodies’ trails.

### Parallel Computing Workbook

These are my notations for the Parallel computing exercises we did during the meeting. This shows the different outcomes for various unique scenarios. In addition, all of these parallel working scenarios are said to be related to each other in terms of how the connect to parallel computing in real-life. During this exercise, many models were run and I had to decipher the computing and reason why one model works the way it does, and how to make each and every model more efficient so it runs faster and does less work each time. All links to the models are located in the attached link above.

# My Summer Projects

### Gimp Projects

This website consists of the various projects I completed on Gimp, a free rastor graphics editor. In this, I scaled, cropped and edited numerous open-source pictures into different backgrounds and manipulated different parts of the pictures to create something new.

### Inkscape Projects

This website contains all of the different mini-projects I completed using Inkscape, a vector graphics editor. In these projects, I created various logos with my name, and initials, and also made different abstract logos. In addition, I made a collage of different shapes that have been manipulated, and a favicon using the same node manipulation technique in order to make the shape (of the favicon).

### HTML5 Tutorial

This is a website that was made by following a tutorial made by Drew Ryan on Youtube. His YouTube Channel can be found by CLICKING HERE, and the video, "HTML5/CSS3 Flat Responsive Website - Start To Finish Web Design Tutorial" can be found by CLICKING HERE.

### Final Portfolio Website Plan

In this project, I used the given website plan template to plan for my own final website that I will be making later this summer. In this, I basically described the main design of the website and how I want each page to look, and what I want on each page. The purpose of this is to help me make my website, so that I would not run into any planning or executig problems when I actually make it later.

### Block 1 Modeling Project (COVID-19 in NYC)

In this project, I modeled the infections and deaths caused by Coronavirus in New York City, using VenSim for the system model, and AgentCubes for the agent model. The purpose of this project was to model the scenario which had taken place in the past few months, and to draw out new scenarios that could have occurred if different choices were made in as a result of the virus.

### Programming Concepts Syntax Guide

In this project, I researched the syntax for JavaScript and PHP. I researched the same concepts for each programming language, tested each of them out, and then wrote the proper syntax for the scenario onto the syntax guide. Some of the things I learned in each language are some math functions, associative arrays, if statements, and loops. Specific to the PHP aspect, I learned how to use GET and POST form validation as well as the HEREDOC and COOKIE global variables.

CLICK HERE to see the JavaScript testing page for the syntax guide.

CLICK HERE to see the PHP testing page for the syntax guide.

### Coin Flip Models

In these projects, I did numerous different things with PHP. All of these projects have a form which gets processed through tht PHP, then gets displayed to the user through the HTML. The link will take you directly to the Dynamic Template Website, which houses the other four mini projects, such as the Random Hex Generator, Dane Joe, Dice Statistics, and Background Selector. Each project is unique in its own way, but all of them were made using PHP, and the website was made using PHP embedded HTML.

### Krista's Mini PHP Projects

In these projects, I did numerous different things with PHP. All of these projects have a form which gets processed through tht PHP, then gets displayed to the user through the HTML. The link will take you directly to the Dynamic Template Website, which houses the other four mini projects, such as the Random Hex Generator, Dane Joe, Dice Statistics, and Background Selector. Each project is unique in its own way, but all of them were made using PHP, and the website was made using PHP embedded HTML.

### Dynamic Rendered Website

In this project, I made a website which is dynamically rendered by PHP. In other words, the HTML is produced by the PHP, and then outputted onto the website. This is similar to the Dynamic Template from Krista's Projects, except that this is completely rendered by PHP, while the other project has PHP embedded HTML.

### MySQL Syntax Guide

In this project, I learned much of the key syntax in SQL. For example, I learned about different mathematical operators, and how to create a table. I also learned how to edit the tables I make using different functions to add data into the table. Lastly, I learned how to use numerous logical functions, which makes inserting data in different scenarios easier. For example, I learned about the AND, OR, and NOT functions, as well as the LIKE, IN, and BETWEEN.

### Dice Roll Database

In this project, I learned how to take values produced by a website and insert them into a database. This was done using both PHP and MySQL. I used the same dice roll model from the last block and made it so that the user's name, and their rolls would be stored in an SQL database, using a table, which sorts the values. Other information that is stored in the table include shoe brand, shoe size, and favorite color.