# Prompt as a Parameter **Track:** 3D, Shaders & AI Intuition — Creative Coding — the existing 50 **Framework / surface:** p5.js **Level:** Advanced **Prerequisites:** Variables, Latent Space as Coordinate Space **In one line:** Treat a prompt like any input — set it, sweep it, animate it from code. ## Theory, aesthetics & inspiration A prompt is not a one-time instruction but a controllable input — a coordinate that can be set, swept, and animated like any other parameter. Because models such as CLIP (Radford et al., 2021) encode text into the same vector space that conditions image generation, words acquire numeric weight, and small changes in phrasing trace continuous changes in output. Treated programmatically, a prompt can be interpolated across frames or modulated by code, turning language into a dial. The aesthetic descends from the demoscene's parameter-tweaking and from Gene Kogan's Machine Learning for Artists ethos: the generative system as instrument, played by varying its inputs over time.