processing:compass_example
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
processing:compass_example [2013/08/03 04:13] – mithat | processing:compass_example [2015/08/01 21:11] (current) – [Refining randomness] mithat | ||
---|---|---|---|
Line 122: | Line 122: | ||
| | ||
// draw the compass at " | // draw the compass at " | ||
- | drawCompass(ang+random(-4.0, | + | drawCompass(ang + random(-4.0, |
}</ | }</ | ||
Line 131: | Line 131: | ||
The offsets in the " | The offsets in the " | ||
- | A random offset process can be smoothed out by // | + | A random offset process can be smoothed out by // |
<code java> | <code java> | ||
Line 166: | Line 166: | ||
[[http:// | [[http:// | ||
- | [[https:// | + | [[https:// |
- | Processing has a function called '' | + | Processing has a function called '' |
<code java> | <code java> | ||
Line 206: | Line 206: | ||
| | ||
// draw the compass | // draw the compass | ||
- | drawCompass(ang + angleOffset, | + | drawCompass(ang+angleOffset, |
}</ | }</ |
processing/compass_example.1375503226.txt.gz · Last modified: 2013/08/03 04:13 by mithat