🐛 Fix save-as filenames

This commit is contained in:
Joshua Seigler 2019-11-11 09:35:07 -05:00
parent d3cbff29fc
commit 1f945dab9d
3 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ new p5(sketch => {
colorNoiseResolution = 6;
blurQuality = 2;
goalInstances = 80;
filenamePrefix = 'seigler-p5-2-gradient_jungle';
filenamePrefix = 'seigler-p5-2-gradient_jungle-';
window.onhashchange = () => {
seed = window.location.hash.substr(1);

View file

@ -15,7 +15,7 @@ new p5(sketch => {
}
sketch.setup = () => {
filenamePrefix = 'seigler-p5-3-peanut_butter_and_jelly';
filenamePrefix = 'seigler-p5-3-peanut_butter_and_jelly-';
width = sketch.windowWidth;
height = sketch.windowHeight;
noiseResolution = [2, 2, 2, 2];

View file

@ -27,7 +27,7 @@ new p5(sketch => {
}
sketch.setup = () => {
filenamePrefix = 'seigler-p5-3-lenses';
filenamePrefix = 'seigler-p5-4-lenses-';
overdraw = 0.1;
width = Math.floor(sketch.windowWidth * (1 + overdraw));
height = Math.floor(sketch.windowHeight * (1 + overdraw));