Skip to main content
100%

Fork of Idempotent Rendering Pattern (Part 2)

✓ Published0🌍 Public
SSubhendu Karmakar
Last edited Feb 5, 2024
Created on Feb 5, 2024

This example demonstrates a self-referential rendering pattern where a visualization draws itself. It combines the JavaScript `FileReader` API with the P5.js `loadPixels()` method to process image data, which is then re-rendered through a feedback loop using the `Hype` library’s `HPath` and `HDrawable` objects. The sketch iterates over pixel color values to drive the placement and styling of new vector shapes, producing an idempotent, generative output that evolves from its own previous state.

AI-generated description
MIT Licensed

Similar vizzes