Learn PIET with Real Code Examples
Updated Nov 25, 2025
Learning Path
Understand Piet color palette
Learn hue/brightness rules
Practice DP/CC movement
Build small blocks first
Create complete artistic programs
Skill Improvement Plan
Week 1: Learn palettes and rules
Week 2: Create simple arithmetic programs
Week 3: Implement loops and logic
Week 4: Build full ASCII output programs
Week 5: Create artistic/programmatic hybrids
Interview Questions
How does Piet encode instructions?
Explain DP and CC.
What is a codel?
Why are hue transitions important?
How does Piet achieve Turing completeness?
Cheat Sheet
Hue shift -> operation type
Brightness shift -> operation parameter
Black -> wall
White -> slide
DP -> movement direction
Books
The Piet Programming Guide
Artistic Programming in Esolangs
Visual Computation with Piet
Abstract Coding Structures
Esoteric Languages Illustrated
Tutorials
Understanding Piet color commands
Hello World in Piet
Stack manipulation via hues
Loops using DP/CC
Complex artworks that compute
Official Docs
https://www.dangermouse.net/esoteric/piet.html
https://esolangs.org/wiki/Piet
Community Links
Reddit r/esolangs
Esolangs.org Piet page
GitHub Piet art repositories
Online Piet interpreters
Piet Discord communities
Community Support
Esolangs.org Piet page
GitHub Piet repositories
Reddit r/esolangs
Piet online interpreters
Programming puzzles communities