Challenges

Featured Challenge:
#154 — Tic Tac Toe AI with Minimax Algorithm

In this challenge I take the Tic Tac Toe game from coding challenge #149 and add an AI opponent for a human player by implenenting the Minimax algorithm.

dec 11, 2019

Tic Tac Toe AI with Minimax Algorithm

Filter by Language

Processing

Filter by Topic

Pick a topic to filter

In this coding challenge, I use the "superformula" to make a 3D "supershape" in Processing. This is part 4 of a multi-part series on superformulas, superellipses and supershapes

3D Supershapes

In this coding challenge, I create a sphere in Processing using spherical coordinates and triangle strips. This is the 3rd part of a multi-part series on superformulas, superellipses and supershapes.

Spherical Geometry

Boing! Using some particles and some springs with the Toxiclibs physics library, I create a 3D cloth simulation in Processing. Toxiclibs can now be downloaded from Processing's library manager.

3D Cloth with Toxiclibs

In this third installment of my series on algorithmic botany, I discuss L-systems and how they can be used to generate trees and other fractal patterns in p5.js.

Fractal Trees - L-System

In this coding challenge, I show you how to visualization the Lorenz Attractor in Processing.

The Lorenz Attractor

Let's fly to new heights with a 3D terrain coding challenge! Using Perlin Noise and beginShape() + endShape() with triangle strips, I'll guide you through visualizing a 3D procedural terrain in Processing.

3D Terrain Generation with Perlin Noise

In the second part of this coding challenge, using Processing, I take the code from the 2D Solar System and turn it three-dimensional.

Solar System (3D)

In part 3 of this coding challenge, using Processing, I add textures to the 3D objects created in part 2. The PShape class and createShape() functions are covered.

Solar System (3D) with textures

In this viewer submitted coding challenge, I make a 2D Solar System Generator in Processing.

Solar System (2D)

In this viewer submitted coding challenge, I attempt to code a Purple Rain Simulator in Processing.

Purple Rain

In this coding challenge, I attempt to code the Menger Sponge (fractals) using Processing.

Menger Sponge Fractal

This is the first in a new series of videos. In this video I attempt to program a "star field" or "warp speed" visualization in Processing.

Starfield in Processing