summaryrefslogtreecommitdiff
path: root/lasertext
diff options
context:
space:
mode:
Diffstat (limited to 'lasertext')
-rw-r--r--lasertext/src/ofApp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lasertext/src/ofApp.h b/lasertext/src/ofApp.h
index 38038e3..a1f00a8 100644
--- a/lasertext/src/ofApp.h
+++ b/lasertext/src/ofApp.h
@@ -104,7 +104,7 @@ public:
if (bRandomise&&(ofRandom(1.0f)<mixprob)){
stars.clear();
- this_rate=ofRandom(rate);
+ this_rate=ofRandom(1.0f-rate)+rate;
}
for(auto it = stars.begin(); it != stars.end();)