An Experiment in Cellular Automata
This tutorial will teach you how to create a very basic simulation in Python. Together, we’ll create a world of tiny squares, dancing to the rhythm of our program’s pulse.
This will be an exercise in Cellular Automata, a field of computational science with many applications. Our goals will be simple and twofold: art and education. We’ll make use of the Pygame library so that we can visualize the simulation.
Using detailed explanations and plenty of coding samples, we’ll cover all the steps needed to build a simulation in Python. …
It seems more and more people are moving to Linux these days. But before users can take full advantage of what this popular open-source operating system has to offer, they’ll need to learn some basic terminal commands.
This post will cover some of the most commonly used commands in the Linux environment. With Linux, not only is it possible to navigate the file system from within the terminal, but users can also download and install software, update their computers, and much more.
Entering the help command in the shell is a great place to start for those new to Linux…
Creating a random dungeon generator is a fun and exciting project to learn Python. In this tutorial, we’ll cover a simple — but effective — algorithm you can use to create a random dungeon using the Python programming language.
Along the way we’ll cover using random numbers to vary the output of our program, ensuring that every dungeon we create is a little bit different.
And finally, using the Pycairo library, we’ll demonstrate how to draw a picture of your dungeon to share on social media. …
Building a guessing game is a great way to get familiar with any new computer programming language. In this tutorial, I’ll walk you through a C++ program that allows the user to guess a secret number.
Our program will pick a secret number at random and the user will get a chance to guess the number. If they choose correctly, we’ll let them know they’ve won the game. Otherwise, we’ll let them know they’ve failed.
What watching old TV has shown me about philosophy.
Like so many of us, I’ve been trapped in my apartment for the last year. Trying to keep from losing it when your home and your office have folded into one nightmare has been an interesting challenge.
In order to pass the time, I’ve been watching old TV shows. Seeing as Hulu generated around $4.4 billion in revenue last year, it would appear I’m not alone.
Two of my favorites have been Cheers and Lost. Both are extraordinary shows and were massively popular when they were on the air.
Programming like an artist.
Piet Mondrian was one of the most influential artists of the 20th century. The Dutch painter, known for his strikingly abstract art, was the founder of the De Stijl movement, a style that favored economy and symbolism.
De Stijl and Mondrian gained international recognition through the German Bauhaus, a school of art that became famous for its principles of design.
Paintings like Broadway Boogie Woogie and Composition C are prime examples of Mondrian’s style. He often used a minimal color palette, and relied on the concept of the grid.
How to turn paranoia into cold, hard cash.
We live in a time where seemingly obscure ideas can suddenly explode, proliferating through the culture at lightning speed. From conspiracy theories to Bitcoin, society is rampant with strange, new ideas.
Where do these ideas come from, you may wonder? How do some ideas spread so quickly, sweeping up minds, and dollars, in the process?
How do oddball candidates take over prominent political parties?
I came across my first clue to these mysteries while training as a copywriter. My boss had me read Joseph Surgarman’s The Adweek Copywriting Handbook: The Ultimate Guide…
Unlock your artistic talent with Pillow
As technology takes center stage in our lives, we turn to media to express ourselves. Knowing a programming language like Python can open many doors, including those that swing inward.
With Python, it’s possible to make exciting digital art using the power of pixels. With the Pillow library, Python can read and write image data, making it possible to create endless new works of art.
Programming students often have trouble understanding certain features of Python. Features such as Classes and Dictionaries can be confusing for beginners. Learning how to use these tools is essential for building applications with Python.
It’s important that students get a firm grasp of these concepts early on.
I’ve crafted this exercise specifically to help students gain a deeper understanding of these ideas. We’ll build a random character generator that utilizes advanced features of Python.
This tool is essential for fans of tabletop role playing games.
Anyone who’s played a TTRPG like Dungeons and Dragons — or Pathfinder — knows how…
Invoking mythology of America’s greatness
Twas a dark day in Dallas, November ‘63
A day that will live on in infamy
President Kennedy was a-ridin’ high
Good day to be livin’ and a good day to die
Being led to the slaughter like a sacrificial lamb
He said, “Wait a minute, boys, you know who I am?”
“Of course we do. We know who you are”
Then they blew off his head while he was still in the car
-Bob Dylan, Murder Most Foul
November 22, 1963. One of the most infamous days in American history: the day John F…