Skip to content

Commit 247729d

Browse files
committed
smoke fading out correctly
1 parent 91e4f57 commit 247729d

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ ___
1414
### General to do:
1515

1616
- [ ] Better title image
17-
- [x] more down,
1817
- [ ] description of "click a button"
1918
- [ ] Maybe short overview?
2019

@@ -37,7 +36,7 @@ ___
3736

3837
- [ ] Evening:
3938
- [x] Church bells
40-
- [ ] Remove fade out bells
39+
- [x] Remove fade out bells
4140
- [ ] People chatter
4241

4342
- [ ] one ambient sound that loops: bells?
@@ -56,12 +55,12 @@ ___
5655
- [x] maybe smaller birds
5756
- [x] **Maybe shooting stars**
5857
- [x] Fix plane trails?
59-
- [ ] toggle borealis automatically
58+
- [x] toggle borealis automatically
6059
- [x] Change chimney smoke color
6160

6261
- [ ] Fade outs:
6362
- [ ] Plane trails
64-
- [ ]
63+
- [x] Fade out smoke
6564

6665
- [ ] Repeats
6766
- [ ] Bird idle

effects/buttons.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -306,13 +306,13 @@ fourthRow.appendChild(nightAmbienceButton);
306306
// soundButtonBig.onclick = toggleSound;
307307
// document.body.appendChild(soundButtonBig)
308308

309-
var manualButton = document.createElement('buttonBig')
310-
manualButton.textContent = "Manual"
311-
document.body.appendChild(manualButton)
309+
// var manualButton = document.createElement('buttonBig')
310+
// manualButton.textContent = "Manual"
311+
// document.body.appendChild(manualButton)
312312

313-
var autoButton = document.createElement('buttonBig')
314-
autoButton.textContent = "Automatic"
315-
document.body.appendChild(autoButton)
313+
// var autoButton = document.createElement('buttonBig')
314+
// autoButton.textContent = "Automatic"
315+
// document.body.appendChild(autoButton)
316316

317317
// var bigButtonDiv= document.createElement('div');
318318
// bigButtonDiv.id = "bigButtonDiv"

effects/smoke.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,11 +221,12 @@ function toggleSmoking() {
221221
}, 120);
222222
}
223223
else {
224-
party.stop()
224+
// party.stop()
225+
// party.end()
225226
console.log('no smoke')
226227
clearInterval(smokeInterval);
227228
clearInterval(smokeInterval2);
228229

229-
ctxSmoke.clearRect(0,0,canvasSmoke.width,canvasSmoke.height);
230+
// ctxSmoke.clearRect(0,0,canvasSmoke.width,canvasSmoke.height);
230231
}
231232
}

0 commit comments

Comments
 (0)