From 4fa2e7d56fc8765e9f9caf3af844a0f6d298fc78 Mon Sep 17 00:00:00 2001 From: Kyle Shores Date: Thu, 27 Jun 2024 22:04:59 -0500 Subject: [PATCH 01/10] adding a package to start the game of life --- _portfolio/game_of_life.md | 32 ++++ _portfolio/research.md | 2 +- _posts/2024-04-20-What-is-an-ODE.md | 2 +- _sass/base/_global.scss | 1 + _sass/base/_variables.scss | 146 ++++++++++++++---- assets/css/projects/conway.css | 9 ++ assets/css/theme/dark-hc.css | 51 ++++++ assets/css/theme/dark-mc.css | 51 ++++++ assets/css/theme/dark.css | 51 ++++++ assets/css/theme/light-hc.css | 51 ++++++ assets/css/theme/light-mc.css | 51 ++++++ assets/css/theme/light.css | 51 ++++++ assets/img/pexels/goals.jpg | Bin 193025 -> 192270 bytes assets/img/pexels/math.jpg | Bin 192133 -> 104266 bytes assets/img/pexels/search-map.jpeg | Bin 483636 -> 483636 bytes assets/img/pexels/travel.jpeg | Bin 350168 -> 350168 bytes assets/img/posts/bisco2212.jpeg | Bin 390937 -> 390808 bytes assets/img/posts/energy-budget.jpeg | Bin 286865 -> 280944 bytes assets/img/posts/luna-christmas.jpeg | Bin 983730 -> 983119 bytes assets/img/posts/newton_1744.png | Bin 156309 -> 145349 bytes assets/img/posts/trees.jpeg | Bin 681639 -> 680617 bytes .../img/thumbnails/feature-img/circuit.jpeg | Bin 96552 -> 96524 bytes .../thumbnails/feature-img/desk-messy.jpeg | Bin 111923 -> 111747 bytes assets/img/thumbnails/feature-img/story.jpeg | Bin 73062 -> 72815 bytes {js => assets/js}/posts/what_is_an_ode.js | 0 assets/js/projects/game_of_life/index.js | 20 +++ assets/js/projects/game_of_life/src/canvas.js | 58 +++++++ .../js/projects/game_of_life/src/gameLogic.js | 18 +++ assets/js/projects/game_of_life/src/styles.js | 20 +++ .../js/projects/game_of_life/src/userInput.js | 7 + 30 files changed, 587 insertions(+), 34 deletions(-) create mode 100644 _portfolio/game_of_life.md create mode 100644 assets/css/projects/conway.css create mode 100644 assets/css/theme/dark-hc.css create mode 100644 assets/css/theme/dark-mc.css create mode 100644 assets/css/theme/dark.css create mode 100644 assets/css/theme/light-hc.css create mode 100644 assets/css/theme/light-mc.css create mode 100644 assets/css/theme/light.css rename {js => assets/js}/posts/what_is_an_ode.js (100%) create mode 100644 assets/js/projects/game_of_life/index.js create mode 100644 assets/js/projects/game_of_life/src/canvas.js create mode 100644 assets/js/projects/game_of_life/src/gameLogic.js create mode 100644 assets/js/projects/game_of_life/src/styles.js create mode 100644 assets/js/projects/game_of_life/src/userInput.js diff --git a/_portfolio/game_of_life.md b/_portfolio/game_of_life.md new file mode 100644 index 0000000..f32d025 --- /dev/null +++ b/_portfolio/game_of_life.md @@ -0,0 +1,32 @@ +--- +layout: post +title: Conway's Game of Life +date: June 2024 +tags: [fun] +--- + +![image]({{ page.img | relative_url }}) + +# Determined Unpredictability + +[Conway's game of life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life) encodes the rules for cell life +and death on a grid. The rules of the game for each cell are simple. + +1. Cells with 2 or fewer neighbors die off +2. Cells that have 2 or 3 neighbors live on +3. Cells with more than 3 neighbors die +4. Dead cells surrounded by 3 live cells spring back to life + +Yet the final state from any starting state is unpredictable but still determined. What does this mean? +Given a starting state, predicting the future 2, 5, 10, 100 steps away is not possible. Life across the board, +where it lives, its density, cannot be predicted using any analytical tool. To find where life thrives in the +future, we have to let the cells play their interminable, fully determined game. + + +
+ +
+ + + + \ No newline at end of file diff --git a/_portfolio/research.md b/_portfolio/research.md index 8dd82bd..89ed3c7 100644 --- a/_portfolio/research.md +++ b/_portfolio/research.md @@ -2,7 +2,7 @@ layout: post title: Research img: "assets/img/portfolio/goes-look-angles.png" -date: September 2014 +date: December 2023 tags: [research] --- diff --git a/_posts/2024-04-20-What-is-an-ODE.md b/_posts/2024-04-20-What-is-an-ODE.md index c27c482..a194584 100644 --- a/_posts/2024-04-20-What-is-an-ODE.md +++ b/_posts/2024-04-20-What-is-an-ODE.md @@ -190,7 +190,7 @@ methods if it's an ODE problem. Hopefully you'll enjoy coming along to learn mor [^1]: {% include citation.html key="hairer1993" %} [^2]: {% include citation.html key="hairer1996" %} - +