mirror of
https://github.com/seigler/generative
synced 2025-07-26 22:56:10 +00:00
🐛 Fix save-as filenames
This commit is contained in:
parent
d3cbff29fc
commit
1f945dab9d
3 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@ new p5(sketch => {
|
||||||
colorNoiseResolution = 6;
|
colorNoiseResolution = 6;
|
||||||
blurQuality = 2;
|
blurQuality = 2;
|
||||||
goalInstances = 80;
|
goalInstances = 80;
|
||||||
filenamePrefix = 'seigler-p5-2-gradient_jungle';
|
filenamePrefix = 'seigler-p5-2-gradient_jungle-';
|
||||||
|
|
||||||
window.onhashchange = () => {
|
window.onhashchange = () => {
|
||||||
seed = window.location.hash.substr(1);
|
seed = window.location.hash.substr(1);
|
||||||
|
|
|
@ -15,7 +15,7 @@ new p5(sketch => {
|
||||||
}
|
}
|
||||||
|
|
||||||
sketch.setup = () => {
|
sketch.setup = () => {
|
||||||
filenamePrefix = 'seigler-p5-3-peanut_butter_and_jelly';
|
filenamePrefix = 'seigler-p5-3-peanut_butter_and_jelly-';
|
||||||
width = sketch.windowWidth;
|
width = sketch.windowWidth;
|
||||||
height = sketch.windowHeight;
|
height = sketch.windowHeight;
|
||||||
noiseResolution = [2, 2, 2, 2];
|
noiseResolution = [2, 2, 2, 2];
|
||||||
|
|
|
@ -27,7 +27,7 @@ new p5(sketch => {
|
||||||
}
|
}
|
||||||
|
|
||||||
sketch.setup = () => {
|
sketch.setup = () => {
|
||||||
filenamePrefix = 'seigler-p5-3-lenses';
|
filenamePrefix = 'seigler-p5-4-lenses-';
|
||||||
overdraw = 0.1;
|
overdraw = 0.1;
|
||||||
width = Math.floor(sketch.windowWidth * (1 + overdraw));
|
width = Math.floor(sketch.windowWidth * (1 + overdraw));
|
||||||
height = Math.floor(sketch.windowHeight * (1 + overdraw));
|
height = Math.floor(sketch.windowHeight * (1 + overdraw));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue