← WorkM.Sc. Computational · 2022 · ITU MBL
Pattern Generator
Algorithmic Pattern Design · Processing / Java
Category
M.Sc. Computational
Course
Computer Programming in Architecture
Term
Midterm · 2022 Fall
Institution
ITU MBL
Instructor
Assoc. Prof. Dr. Sema Alaçam
Tools
Processing · Java
Pattern Generator is an interactive Processing sketch that produces randomized grid patterns driven by numerical values — each cell assigned a random integer that controls its shade, rotation, and position within the matrix.
The project explores algorithmic thinking in design: how simple rules and random seeds produce complex, non-repeating visual outcomes — and how the designer can intervene through controls to steer the aesthetic result.
Demonstration Film
Demonstration Film
How It Works
A 5×5 matrix is populated with random integers on startup. A slider adjusts the colorization threshold — cells above the value render dark teal, below render light. Three keyboard controls transform the grid in real time: Up arrow mirrors vertically, Right arrow mirrors horizontally, Down arrow sorts values ascending. Clean resets the canvas. Save exports a PNG.
Submission Poster
Submission Poster
Design Reflection
The algorithm schema reveals the decision tree governing the sketch — from Start Generator through slider-driven colorization, to the three transformation modes and final export. The Rules + Conditions section shows how a handful of conditional statements produce the full behavioral repertoire of the tool.
Key Insight
Pattern generation is not about eliminating randomness — it is about structuring how randomness behaves. The designer sets the rules; the algorithm explores the space within them.
