Idea · Jul 29, 2026
Generative Art Gallery
Students build a full-stack web gallery where users submit text prompts, an LLM generates live HTML5 Canvas or SVG artwork from those prompts, and the community can vote, remix, and tag each creation.
What it would do
The Generative Art Gallery is a four-week full-stack assignment with a creative hook that keeps motivation high throughout. Users enter a text prompt and the backend calls the Claude or Gemini API to generate executable HTML5 Canvas JavaScript; the result is stored in Supabase and rendered live in a sandboxed iframe inside the React gallery. Students must implement the sandboxed execution pipeline (safe iframe isolation, error handling for invalid generated code), the gallery UI (browsing, voting, tags), the remix feature (fork a prompt and modify it, preserving the original in a parent-child version chain), and a report and moderation flag system. The assignment covers API integration, async rendering, relational database schema design, collaborative UX patterns, and basic content moderation, all in a context where debugging is immediately visible and satisfying because the output is art.
Key features
- Prompt-to-Canvas LLM pipeline with sandboxed iframe execution and graceful error fallback
- Community gallery with voting, categories, and tags
- Remix/fork feature that preserves the full prompt-lineage chain
- Report and moderation flag system with instructor review queue