Why does this use let and var together? Was I (not a modern js expert) wrong to think var is considered obsolete? Is it because OP wanted to use var's scoping rules?
var is not obsolete. You still need it sometimes for scoping reasons.
Fishdraw: Procedurally Generated Fish Drawings
21–30 of 91 posts
Re: Fishdraw: Procedurally Generated Fish Drawings
#22Love the generated art projects. I just want an art ‘frame’ (display with small computer) that generates new art every so often. Put together a few of the various art ML projects into one product for this.
Re: Fishdraw: Procedurally Generated Fish Drawings
#23Why does this use let and var together? Was I (not a modern js expert) wrong to think var is considered obsolete? Is it because OP wanted to use var's scoping rules?
https://github.com/processing/p5.js/blob/8213eecccdff510015e...
Re: Fishdraw: Procedurally Generated Fish Drawings
#24Love the generated art projects. I just want an art ‘frame’ (display with small computer) that generates new art every so often. Put together a few of the various art ML projects into one product for this.
Re: Fishdraw: Procedurally Generated Fish Drawings
#25Why does this use let and var together? Was I (not a modern js expert) wrong to think var is considered obsolete? Is it because OP wanted to use var's scoping rules?
var is not obsolete. You still need it sometimes for scoping reasons.
Re: Fishdraw: Procedurally Generated Fish Drawings
#26Re: Fishdraw: Procedurally Generated Fish Drawings
#27Re: Fishdraw: Procedurally Generated Fish Drawings
#28Love the generated art projects. I just want an art ‘frame’ (display with small computer) that generates new art every so often. Put together a few of the various art ML projects into one product for this.
Hacked kindles work well for this.
Re: Fishdraw: Procedurally Generated Fish Drawings
#29http://shan-shui-inf.lingdong.works/
(keep clicking the rightmost arrow)
Re: Fishdraw: Procedurally Generated Fish Drawings
#30https://github.com/LingDong-/fishdraw/blob/main/fishdraw.js#...