---
name: scaffolding-canvas-visual-effect-prototypes
description: "Scaffolds canvas visual effect prototypes by generating rendering loops, pixel-processing math, shader code, and interactive controls. Use when someone wants to explore a creative coding idea and iterate on a preview demo."
license: CC-BY-4.0
compatibility: "Needs access to: Terminal, Browser, GitHub."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-16"
  source: "https://botbento.com/usecases/scaffolding-canvas-visual-effect-prototypes/"
  kind: skill
  hermes:
    tags: ["creative-coding", "canvas", "webgl", "prototyping"]
    category: coding
    requires_toolsets: ["terminal", "browser"]
---
# Scaffolding canvas visual effect prototypes

Generate boilerplate math, pixel shaders, and interactive controls for creative web prototypes.

## When to use

Explore creative coding ideas by having a bot scaffold canvas boilerplate, image manipulation routines, and parameter controls. The bot writes initial pixel-processing logic, sets up input event listeners, and iterates on rendering loops based on feedback.

## Inputs

- `effect_description`: Description of the visual distortion effect or creative coding idea to prototype on an HTML5 canvas.
- `iteration_feedback` (optional): Feedback on the rendering loop or pixel manipulations to guide adjustments to the prototype.

## Steps

1. When you ask: Request visual effect prototype (A person asks in chat for a canvas visual effect prototype or for an adjustment to pixel manipulations.)
2. Generate canvas math and UI controls
3. Preview code and interactive demo

## Instructions

Generate the initial project setup, HTML5 canvas rendering loop, and mathematical models for requested visual distortion algorithms. When asked to adjust pixel manipulations, write clean TypeScript or WebGL shader code. Run automated tests and lint checks in the terminal, but pause for user approval before pushing commits or creating pull requests.

## Approvals

- Pushing commits must wait for user approval.
- Creating pull requests must wait for user approval.

## Output

Prototype code scaffold with an interactive canvas demo preview for review. (format: document)

## Source

Summarized in our own words from [Show HN: Glitchy camera – a circuit-bent camera simulator in the browser](https://news.ycombinator.com/item?id=47033954) (Hacker News, checked 2026-10-16). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/scaffolding-canvas-visual-effect-prototypes/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
