Challenges

Featured Challenge:
#159 — Simple Pendulum Simulation

Choo choo! In this challenge, I build on chapter 3 (Oscillating Motion) of the Nature of Code series and simulate a simple pendulum in p5.js via angular acceleration.

feb 20, 2021

Simple Pendulum Simulation

Filter by Language

Pick a language to filter

Filter by Topic

texture 3D

In this two part challenge, I cover beginShape(), endShape(), and texture(), TRIANGLE_STRIP, QUAD_STRIP, and more. I combine these geometry functions with the Toxiclibs physics library to simulate a waving flag (with a unikitty image texture!)

Texturing Cloth Simulation