Mercurial > hg > weather-synthesis-prototyping
view June/processingD1/processingD1.pde @ 223:3829344821ce
Test Aeolian harp added. 6 strings with various diameters, tensions, mass and lengths.
More physics to be added but not too bad a starting place.
Sigmoids added for the lock in region. No hysteresis yet.
No dampening factor for higher harmonics yet.
Could do with an indicator on harpD1 that shows the natural freq, strouhal freq, harmonic number and if on / off.
author | Rod Selfridge <r.selfridge@qmul.ac.uk> |
---|---|
date | Sat, 28 May 2016 08:11:09 +0100 |
parents | 819d71fa7fac |
children |
line wrap: on
line source
// Example 05-02 from "Getting Started with Processing" // by Reas & Fry. O'Reilly / Make 2010 int position; void setup() { size(1420, 900); background(128); position = 0; } void draw() { background(128); fill(0); // fill changes the color of the interior of the shape noStroke(); // noStroke removes the outer line // Does position represent the horizontal or the vertical location? ellipse(80.5, 100.5, 30, 30); ellipse(1080.5, 150.5, 30, 30); ellipse(620.5, 650.5, 30, 30); }