No video

Simulate Cellular Automata in Python | Game of Life

  Рет қаралды 931

Varniex

Varniex

Күн бұрын

Conway's Game of Life is very famous for its simplicity and intuitive way to simulate cellular automata -- how the cells evolve and die in a certain environment. Based on some certain pre-determined rules, one can test their theory on evolutionary ideas. The Game of Life is all about whether a cell continues its legacy or dies either due to overcrowding or loneliness. The rules are simple and the Game is set. The only thing left is to Simulate it.
Chapters:
0:00 - Intro
0:11 - The Rules of Game of Life
0:42 - Visualizing the Grid
1:16 - Demonstrating the Formula
2:10 - Code: Initializing the Grid
2:37 - Code: Getting the Number of Neighbours
2:59 - Quick Demonstration of Convolution
3:30 - Code: Updating the Grid to the Next Stage
4:21 - Application of the Game of Life
4:45 - Thanks and Support
Grant Sanderson's ( @3blue1brown ) video on Convolution:
• But what is a convolut...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This video is animated using Grant Sanderson's (‪@3blue1brown‬) library Manim (based on Python).
Manim is an engine for precise programmatic animations, designed for creating explanatory math videos.
Code for this video:
github.com/Varniex/manim_videos
Let's connect on Twitter:
/ varniex
Support this Channel by buying me a Book:
buymeacoffee.com/Varniex
Manim GitHub Repository:
github.com/3b1b/manim
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#manim #python #animation

Пікірлер: 6
@PunmasterSTP
@PunmasterSTP Жыл бұрын
Your explanation was Pythawesome; thanks for sharing!
@Varniex
@Varniex Жыл бұрын
Glad it was helpful! Thanks for watching!
@tejasmahajan5949
@tejasmahajan5949 Жыл бұрын
Smoooth... Great Video
@Varniex
@Varniex Жыл бұрын
Thanks for watching!
@ilyasceren8032
@ilyasceren8032 Жыл бұрын
nice work. what program did you use for application?
@Varniex
@Varniex Жыл бұрын
Thanks! It's Python Library Manim (link is in the description)
Lenia - Artificial Life from Algorithms
13:15
Birdbrain
Рет қаралды 130 М.
Oh, wait, actually the best Wordle opener is not “crane”…
10:53
Little girl's dream of a giant teddy bear is about to come true #shorts
00:32
🤔Какой Орган самый длинный ? #shorts
00:42
Опасность фирменной зарядки Apple
00:57
SuperCrastan
Рет қаралды 11 МЛН
Langton's Loops: The cellular automaton that copies itself
12:01
davbrdavbr
Рет қаралды 471 М.
Why Does Diffusion Work Better than Auto-Regression?
20:18
Algorithmic Simplicity
Рет қаралды 252 М.
Anti-Aliasing in Python
4:14
robotrakesh
Рет қаралды 1,1 М.
Easily Explained: Chaos Theory in 13 Minutes
12:54
Varniex
Рет қаралды 6 М.
The BEST Way to Find a Random Point in a Circle | #SoME1 #3b1b
18:35
Little girl's dream of a giant teddy bear is about to come true #shorts
00:32