Gist 155911
✓ Published0🌍 Public
XXXX
Last edited Jul 26, 2009
Created on Jul 26, 2009
The example demonstrates a user-creation form rendered with a dynamic Processing sketch embedded in the page header. The layout uses HAML with a Sinatra-style `form_for` helper, while the header includes a random selection between two Processing logo sketches via `partial "logos/logo_#{rand(2) + 3}"`. The Processing code initializes either an `x_axis` or `y_axis` variable, but no drawing or interaction is defined, so the sketch remains static and incomplete. The data source is the embedded Processing script, served through the Haml template’s partial mechanism.
AI-generated description