boids simulation

Boids

The Boids simulation is an interesting way to observe the flocking behavior seen in for example birds and fish. With this simulation, you can experiment with different parameters and see how they affect the flocking behavior. How it works The behavior of the boids follows three rules: Separation: Boids steer to avoid crowding their neighbors. Alignment: Boids steer towards the average heading of their neighbors. Cohesion: Boids steer to move towards the average position of their neighbors. These rules are applied to each boid, resulting in the flocking behavior that is observed. ...

August 27, 2022 · 1 min · 141 words · Ryan Jin
start page

One-Page

One-Page is a custom start page that helps you start your web browsing session right! With One-Page, you’ll have all the necessary information you need in one place, including the current time and temperature, as well as quick links to your favorite websites. To add a little inspiration to your day, One-Page also features a random quote to motivate you as you begin your day. Tech Stack ReactJS Styled Components OpenWeatherAPI Quotable API fetch API Features Feature1 Feature2 Feature3 Links Repository: GitHub Installation # Installation instructions git clone https://github.com/R-Jin/One-page.git cd One-page npm install To make the weather widget work create a openweathermap account and create a API key. Create a .env file in the root of the project check out the .env.example. ...

December 6, 2021 · 1 min · 199 words · Ryan Jin
game of life

Game of Life

The Game of Life is a cellular automaton simulation created by mathematician John Conway in 1970. It simulates the birth, death and survival of cells on a grid. How it works The rules are: Any live cell with fewer than two live neighbors dies, as if by underpopulation. Any live cell with two or three live neighbors lives on to the next generation. Any live cell with more than three live neighbors dies, as if by overpopulation. Any live cell with exactly three live neighbors becomes a live cell, as if by reproduction. These rules are applied to each cell on the grid in a repetitive manner, and the resulting pattern is observed. The Game of Life can exhibit fascinating patterns from seemingly simple starting patterns. ...

August 26, 2021 · 1 min · 172 words · Ryan Jin