SebCodesTheWeb / pursuit-curve-calculator

Pursuit curve of chase, where a dog chases another dog.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pursuit-curve-calculator

Pursuit curve of chase, where a dog chases another dog.

yt-video

Hello there!

So I listened to a podcast by 3blue1brown where he interviewed mathematician Steven Strogatz. They briefly talked about one problem that Strogatz was solving when he was young in high school. The four dog pursuit problem.

Four dogs are placed in a square with side length 1. They all run with a speed of 1 m/s in the direction of next dog clockwise. How long does it take before the dogs reach the center.

I made my own numerical solution to this problem, which I showcase in this video. Where one can adjust some parameters and see how it effects the final answer with some nice animation.


--View the deployed project--

https://4-dog-problem.netlify.app/

--About Me--

Hi! I'm Sebastian and I'm a high school student from Sweden. I love math and coding. Want to show my work and explain my journey as I'm developing.

To run locally:

  1. Git clone
  2. yarn start | npm start

About

Pursuit curve of chase, where a dog chases another dog.

License:MIT License


Languages

Language:TypeScript 81.4%Language:CSS 14.8%Language:HTML 3.8%