Coding Cassowary
Coding Cassowary
  • 50
  • 114 414
Conway's Game of Life - Part 2
In this second video on Conway's Game of life, we will explore some of its main variants. The "immigration variant" and the "rainbow variant"of the base game introduce the idea that cells have different colors which they can pass on to the next generation. Lastly, we will have look at what happens when we generalize the conditions for when cells are born or when they die.
Contents:
00:00 Immigration variant
07:56 Rainbow variant
13:20 Different rules
Source code:
🔗 Immigration variant: trinket.io/library/trinkets/7aeb3126d7
🔗 Rainbow variant: trinket.io/library/trinkets/ea04d43d7c
🔗 Alternative rules: trinket.io/library/trinkets/fc9fae990f
Useful links:
🔗 en.wikipedia.org/wiki/Conway%27s_Game_of_Life
🔗 Trinket: trinket.io/processing
🔗 p5.js Web Editor: editor.p5js.org/
🔗 Open Processing: openprocessing.org/browse/#
Note:
This video includes music from: www.bensound.com/
zhlédnutí: 378

Video

Conway's Game of Life - Part 1
zhlédnutí 644Před 2 lety
In this video we will code Conway's Game of Life. It is a prime example of a cellular automaton. This zero-player "game" is played in discrete time and on a two-dimensional grid. The grid's cells are either dead or alive. If a live cell has exactly two or three neighbors it stays alive in the next period, otherwise it dies. Dead cells come to life in the next period if they have exactly three l...
Jackson Pollock generator
zhlédnutí 1,9KPřed 2 lety
In this video we will create an art generator which you can use to create art in the style of Jackson Pollock. Contents: 00:00 Introduction 02:39 Basic setup 05:17 Brush and drizzle() function 13:41 stipple() function 17:39 splatter() function 24:21 Outro Source code: 🔗 trinket.io/library/trinkets/3004f4c350 Original Javascript code: 🔗 openprocessing.org/sketch/1176141 Useful links: 🔗 Open Proc...
Doodle Jump clone
zhlédnutí 1,4KPřed 2 lety
In this project we will create our own version of the popular mobile game "Doodle Jump". Contents: 00:00 Introduction 01:08 Doodler() class 07:10 Platform() class 15:17 Horizontal movement 19:33 Climbing up 25:20 Score count and game over Source code: 🔗 trinket.io/library/trinkets/5733dbf24b Where I copied from: 🔗 czcams.com/video/Ak_BYhV_pI0/video.html 🔗 czcams.com/video/qmcgrk5KfHQ/video.html...
Basic physics engine
zhlédnutí 1,5KPřed 2 lety
In this project we will use Processing in Python mode to create a basic physics engine in which particles move around in a two-dimensional space with gravity and wind. It will not include things like friction, drag or particle collisions. Contents: 00:00 Introduction 04:14 Processing basics 13:01 Particle class 17:01 Movement 21:29 Bouncing 25:14 Mouse interaction 29:21 Outlook Source code: 🔗 t...
Finding strange attractors - Part 2
zhlédnutí 2,1KPřed 2 lety
In this project we will dive into the world of "strange attractors". These systems of equations produce chaotic patterns which despite being perfectly predetermined are practically impossible to predict. We will write Python code to search for these patterns and then visualize them. Contents 00:00 Searching for chaotic patterns 11:30 Changing colors and saving figures 19:35 Recreating patterns ...
Finding strange attractors - Part 1
zhlédnutí 4,6KPřed 2 lety
In this project we will dive into the world of "strange attractors". These systems of equations produce chaotic patterns which despite being perfectly predetermined are practically impossible to predict. We will write Python code to search for these patterns and then visualize them. Contents 00:00 Introduction 04:18 Quadratic map 10:50 Ruling out convergence 15:45 Searching for interesting patt...
Coding the Enigma machine - Part 1
zhlédnutí 22KPřed 2 lety
In this project we will try to code the infamous Enigma machine. I will try to come as close as possible to the real thing but cannot guarantee that it will be exactly like it. In this first part of the video series will focus on representing the machine's different components in code. Contents 00:00 Introduction 07:26 Keyboard 09:41 Plugboard 15:56 Rotors 21:20 Reflector 24:08 Enciphering a le...
Coding the Enigma machine - Part 2
zhlédnutí 8KPřed 2 lety
In this project we will try to code the infamous Enigma machine. I will try to come as close as possible to the real thing but cannot guarantee that it will be exactly like it. In this part of the series will string together all of the machine's component and create a single Enigma class. Contents 00:00 Rotor stepping 05:07 Enigma class 14:45 Message key 20:04 Ring setting Video links: 🎥 Part 1...
Coding the Enigma machine - Part 3
zhlédnutí 3,9KPřed 2 lety
In this project we will try to code the infamous Enigma machine. I will try to come as close as possible to the real thing but cannot guarantee that it will be exactly like it. In this first part of the series we will visualize our Enigma machine using Pygame. Contents 00:00 Setting up Pygame 03:26 Keyboard and plugboard 13:00 Rotors and reflector 23:04 draw() function Video links: 🎥 Part 1: cz...
Coding the Enigma machine - Part 4
zhlédnutí 3,4KPřed 2 lety
In this project we will try to code the infamous Enigma machine. I will try to come as close as possible to the real thing but cannot guarantee that it will be exactly like it. In this last part of the series we will create a live animation of the encryption path that each letter of a secret message takes through the machine. Contents 00:00 Input and output 04:58 Tracing the encryption path 08:...
Generative art in Python: Euler Spirals
zhlédnutí 2,1KPřed 2 lety
In this video we will have a look at Euler Spirals. These patterns are remarkably simple to generate yet absolutely amazing to look at. Contents: 00:00 Introduction 01:03 Code 03:36 Different spirals Video links: 🎥 Generative art playlist: czcams.com/play/PLBLV84VG7Md9oO4MUOhyqz7gBFOzx8XIw.html 🎥 Numberphile video: czcams.com/video/kMBj2fp52tA/video.html Note: This video includes music from: ww...
Generative art in Python: Fractal Trees
zhlédnutí 3,4KPřed 2 lety
In this video we will code fractal trees. Despite being created by computers, these structures have a surprisingly realistic organic quality to them. Contents: 00:00 Introduction 01:07 Basic trees 08:01 Adding randomness 13:23 Adding colors Video links: 🎥 Generative art playlist: czcams.com/play/PLBLV84VG7Md9oO4MUOhyqz7gBFOzx8XIw.html Coding Cassowary: 🔗 CZcams: czcams.com/channels/CFSN0p9XetNh...
Generative art in Python: Crazy Letters
zhlédnutí 1,4KPřed 2 lety
In this video I will go over a piece of art that I created myself. It looks like an alphabet of crazy letters and it will be my last video on tiling. Contents: 00:00 Introduction 01:15 Outer loop 05:37 Inner loop 09:44 Colors Video links: 🎥 Generative art playlist: czcams.com/play/PLBLV84VG7Md9oO4MUOhyqz7gBFOzx8XIw.html Coding Cassowary: 🔗 CZcams: czcams.com/channels/CFSN0p9XetNhLaoQg9JuEA.html...
Generative art in Python: Gravel and Boxes
zhlédnutí 2,1KPřed 2 lety
In this video we will have a look at rotations. We will recreate "Schotter" ("Gravel") by Georg Nees and "Boxes" by William Kolomyjec. Both pieces deal with squares that are rotated more or less strongly depending on where they are located on the canvas. Contents: 00:00 Introduction 01:05 Gravel 08:42 Boxes Video links: 🎥 Generative art playlist: czcams.com/play/PLBLV84VG7Md9oO4MUOhyqz7gBFOzx8X...
Generative art in Python: Nested Squares
zhlédnutí 4,7KPřed 2 lety
Generative art in Python: Nested Squares
Generative art in Python: Basic Tiling
zhlédnutí 14KPřed 2 lety
Generative art in Python: Basic Tiling
Wordle in Python - Part 1
zhlédnutí 4,9KPřed 2 lety
Wordle in Python - Part 1
Wordle in Python - Part 2
zhlédnutí 2,3KPřed 2 lety
Wordle in Python - Part 2
Pandemic simulation - Part 6
zhlédnutí 274Před 2 lety
Pandemic simulation - Part 6
Battleship AI - Part 6
zhlédnutí 1,7KPřed 2 lety
Battleship AI - Part 6
Battleship AI - Part 5
zhlédnutí 1,5KPřed 2 lety
Battleship AI - Part 5
Battleship AI - Part 4
zhlédnutí 1,4KPřed 2 lety
Battleship AI - Part 4
Battleship AI - Part 3
zhlédnutí 1,8KPřed 2 lety
Battleship AI - Part 3
Battleship AI - Part 2
zhlédnutí 2,8KPřed 2 lety
Battleship AI - Part 2
Battleship AI - Part 1
zhlédnutí 7KPřed 2 lety
Battleship AI - Part 1
Pandemic simulation - Part 5
zhlédnutí 254Před 2 lety
Pandemic simulation - Part 5
Pandemic simulation - Part 4
zhlédnutí 251Před 2 lety
Pandemic simulation - Part 4
Pandemic simulation - Part 3
zhlédnutí 281Před 2 lety
Pandemic simulation - Part 3
Pandemic simulation - Part 2
zhlédnutí 439Před 2 lety
Pandemic simulation - Part 2

Komentáře

  • @jean-jacqueschambaz4504
    @jean-jacqueschambaz4504 Před 13 hodinami

    Hello, the code is not exact compared to the operation of enigma, example: When I put the rotors in initial position on A, A, A and I put the ring setting on B, B, B the initial position is not on A, A, A but on Z, Z, Z so the operation of your software is not correct. Best regards

  • @hayriyekurtuldu2229
    @hayriyekurtuldu2229 Před 27 dny

    THE RESULT WAS AMAZED .. FINISHED THIS IS ONE . THANKS A LOT

  • @bbatroll
    @bbatroll Před 27 dny

    awesome stuff thanks!

  • @vincere3606
    @vincere3606 Před 29 dny

    Great video! do you have the source code for the animation? i would love to use it to my school presentation

  • @andyryan4484
    @andyryan4484 Před měsícem

    I'm getting a pygame.event.Event has no object unicode when I try to take the letter in. I can't see where I might have differed from your example though.

    • @andyryan4484
      @andyryan4484 Před měsícem

      Fixed it by changing "event" to "press" I think python was getting upset using event. Wonderful tutorial, I'm using it with my digital technology class now. Their assignment is to decode a 60 character message by building the enigma machine and then setting everything up correctly.

  • @RealPacse
    @RealPacse Před měsícem

    I know you're probably long gone now, but i wanted to let you know: I love your videos. I think they're amazing and I am currently binging all of them. I found you through your battleship tutorial (which I am working on using to train an AI to play battleships). Thank you so much for your videos! :)

  • @rorygreen749
    @rorygreen749 Před měsícem

    It's like the cup game on Tic toc

  • @maximtiburziano872
    @maximtiburziano872 Před měsícem

    I create the module "theme" but I can't recall it in other projects. Why?

  • @RealPacse
    @RealPacse Před měsícem

    Where did you go? Very good videos!

  • @hayriyekurtuldu2229
    @hayriyekurtuldu2229 Před měsícem

    i have alost done . this is my first python work thanks from turkey

  • @hayriyekurtuldu2229
    @hayriyekurtuldu2229 Před 2 měsíci

    thanks

  • @emcclure933
    @emcclure933 Před 2 měsíci

    like your videos. Also, you might now have noticed but your playlist is out of order.

  • @MarcusRuotsalainen
    @MarcusRuotsalainen Před 2 měsíci

    Thanks for this tutorial, you taught me some cool stuff!

  • @saadatkhanniazi
    @saadatkhanniazi Před 2 měsíci

    During coding Sor GUI kesy show ho gi?? Ya is k ly b alag process hy

  • @AliBenjellounM
    @AliBenjellounM Před 2 měsíci

    we want an example of islamic geometric complex pattern

  • @engineeringwithandy6434
    @engineeringwithandy6434 Před 2 měsíci

    I was looking at implementing the rotor wiring using a dictionary as my students need to use dictionaries for their excellence grade but just wondering if its a quick change here.

  • @happyfish3961
    @happyfish3961 Před 3 měsíci

    Nice videos

  • @RevolutionibusOrbiumCoelestium

    26:35 In this run the correct code ends in “ROHXELBN” where you got “ROBXELBN”

  • @RevolutionibusOrbiumCoelestium

    26:15 The correct code ends in “SAFXYFLI” where you got “SASXYFLI” the second “S” should be an “F”. Otherwise it gets the same cipher letters in this run.

  • @robertsmith5805
    @robertsmith5805 Před 3 měsíci

    excellent work...

  • @robertsmith5805
    @robertsmith5805 Před 3 měsíci

    brilliant tutorial....

  • @samparticle
    @samparticle Před 3 měsíci

    I got a TypeError message: string indices must be integers It's referencing the letter = <alphabet> part in the keyboard script Any solutions?

  • @cristobalgalazmiranda4092
    @cristobalgalazmiranda4092 Před 4 měsíci

    man, i really love following the process of this series, i enjoy every second of followig you steps on this proyects, thank u man

  • @vishalaa1109
    @vishalaa1109 Před 4 měsíci

    Which editor do you use?

  • @mrdixioner
    @mrdixioner Před 4 měsíci

    Should I install Java for the Processing module? For what? The same can be done using PyGame.

  • @mrdixioner
    @mrdixioner Před 4 měsíci

    This simulation shows that people do not know about those infected, which is why the epidemic is spreading at such a high speed. We can make people avoid the infected, then the simulation will change a lot and we will give humanity a chance :) Thank you so much for such detailed lessons!!!

  • @mrdixioner
    @mrdixioner Před 4 měsíci

    I was looking for a video on generative art and came across your channel! Thank you very much!!!

  • @caroleian123
    @caroleian123 Před 4 měsíci

    How do I get spaces between words???

    • @engineeringwithandy6434
      @engineeringwithandy6434 Před 2 měsíci

      I believe from reading book the messages used an X to put spaces between the words

  • @Сашафадеев-в4ю
    @Сашафадеев-в4ю Před 5 měsíci

    TypeError: Keyboard.forward() takes 1 positional argument but 2 were given, Anyone have this problem? 8:47

  • @ciscoj33
    @ciscoj33 Před 5 měsíci

    Uh...........not to be greedy or anything, but shouldn't there be a 5th video showing how to decipher messages??

    • @Pheaxx
      @Pheaxx Před 5 měsíci

      decipher works by putting in the enciphered text, it will return the initial text. Make sure the same starting settings are used.

    • @ciscoj33
      @ciscoj33 Před 5 měsíci

      @@Pheaxx son of a bitch! :D :D :D that never even occurred to me but i'm thinking it should have.

  • @ciscoj33
    @ciscoj33 Před 5 měsíci

    everything was working fine for me, line for line what he wrote, up until changing the ring numbers then I get an index out of range.

  • @ahmedgharieb5252
    @ahmedgharieb5252 Před 5 měsíci

    How to find a strange attractor from my time series data

  • @trying_to_be_the_change
    @trying_to_be_the_change Před 6 měsíci

    Sir, u missed the decryption part. can you explain the decryption steps? It would be a great favor

    • @АлексейФрезеровщик-и4у
      @АлексейФрезеровщик-и4у Před 4 měsíci

      If you type in your enigma encrypted message, you will get the original message. Enigma works both ways in that sense

    • @andyryan4484
      @andyryan4484 Před měsícem

      The beauty of enigma was that decryption was automatic if the settings were correct - plain text in encryption out encryption in plain text out (you can prove this by copy pasting the output on the enigma simulator he shows in part 2)

  • @trying_to_be_the_change
    @trying_to_be_the_change Před 6 měsíci

    Sir, u missed the decryption part.

    • @Pheaxx
      @Pheaxx Před 5 měsíci

      decipher works by putting in the enciphered text, it will return the initial text. Make sure the same starting settings are used.

  • @ReinaldoScagliera
    @ReinaldoScagliera Před 6 měsíci

    Hello @codingcassoway, great code and excellent explanation, I followed all the videos and typed all the code includes the Backspace key to delete the INPUT field is possible to share with everyone?

  • @AnonymouZS
    @AnonymouZS Před 6 měsíci

    never mind i made error in keyboard code🤦🏾‍♂

  • @AnonymouZS
    @AnonymouZS Před 6 měsíci

    i run into an issue while on the import part, when i run the code i get Type error: string indices must be integers? this code is the issue" letter = self.right[signal]

  • @rayzard3687
    @rayzard3687 Před 6 měsíci

    Thanks this playlist was a good help!!!!!!

  • @LiamNewberry
    @LiamNewberry Před 6 měsíci

    this is really cool

  • @rayzard3687
    @rayzard3687 Před 6 měsíci

    Thank You very much,!!! it helped a lot

  • @dazhijiang-fx9he
    @dazhijiang-fx9he Před 7 měsíci

    can i get the code pls??

  • @RealPacse
    @RealPacse Před 7 měsíci

    Is the code available?

  • @juliansimons9396
    @juliansimons9396 Před 7 měsíci

    where is this theme script??

  • @bsdooby
    @bsdooby Před 7 měsíci

    Nowhere is it explained why a rotor, in this chosen code design, has a regular alphabet (the one on the left), and the "gibberish" alphabet on the right. I see this in other coding enigma projects as well. Take rotor I with its internal wiring: A -> E, B -> K, C -> M, etc.; this relationship gets lost when using the two-alphabet approach w/ finding the same letters in the two alphabets. Can you elaborate on this design decision?

  • @bricpointlimited5224
    @bricpointlimited5224 Před 7 měsíci

    can we download the code?

  • @descriptionsuchandsuch4709
    @descriptionsuchandsuch4709 Před 8 měsíci

    very very cool! The only little problem i saw is that "converging to infinity" is "diverging". Saying "the series is converging" is actually the opposite of what it does in your code. In reality a "good" series is "converging" towards an attractor - either a point, a loop or a strange attractor.

  • @AlfredHelmerich
    @AlfredHelmerich Před 8 měsíci

    Fantastic video! I cannot believe how concise the code is compared with flutter. Btw, what language is this?

    • @LostAndDimCarcosa
      @LostAndDimCarcosa Před 22 dny

      It's Python, with the pygame library for the Battleship game interface and with the matplotlib library for the statistics interface ;)

  • @MatheeswaranM
    @MatheeswaranM Před 8 měsíci

    thanks sir, because of you I finished my updated version of this machine which has more than 3 rotors.

  • @christyaghjian115
    @christyaghjian115 Před 9 měsíci

    great work

  • @aaroncarldiamante9795
    @aaroncarldiamante9795 Před 9 měsíci

    why isn't a swap necessary when you execute the second pass?

    • @bbatroll
      @bbatroll Před 27 dny

      i know this is super late but if anybody still has this question: it's essentially because the two numbers we are comparing are "in order" since 1 < 4 so no changes need to be made and this is restricted to these two numbers being compared currently, when the second pass is first executed. same goes for the other 2 (4 < 5) comparison. no changes need to be made.