teeny ui change, egotistical readme update

This commit is contained in:
tim h 2022-11-15 23:19:09 -06:00
parent 0c3d8d01eb
commit 266d87938c
4 changed files with 6 additions and 8 deletions

View file

@ -53,3 +53,7 @@ this is a completely vanilla javascript and html canvas outpainting convenience
## pull requests
**PLEASE SEND PULL REQUESTS**
i am begging you, yes you personally reading this, please fix my horrible code and feel free to insult it, but i absolutely refuse to budge on no 3rd party libraries or dependencies, not even jquery, nothing. vanilla is a very complex and layered flavor if you give it a chance.
## sample
generated using 100% openOutpaint UI defaults except for switching to/from mask mode and changing scale factor to adjust the size of the mask blob, there's some neat stuff down there
![fishies n stuff](docs/02-sample.png)

BIN
docs/02-sample.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 MiB

View file

@ -120,10 +120,10 @@
<textarea
id="negPrompt">people, humans, divers, glitch, error, text, watermark, bad quality, blurry</textarea><br />
<label for="cbxSnap">snap to grid?</label>
<input type="checkbox" id="cbxSnap" onchange="changeSnapMode()"><br />
<input type="checkbox" id="cbxSnap" onchange="changeSnapMode()" checked="checked"><br />
<label for="cbxPaint">mask mode?</label>
<input type="checkbox" id="cbxPaint" onchange="changePaintMode()"><br />
<label for="cbxErase">erase mask?</label>
<label for="cbxErase"><s>erase mask?</s></label>
<input type="checkbox" id="cbxErase" onchange="changeEraseMode()" disabled="disabled"><br />
<label for="samplerSelect">sampler:</label>
<select id="samplerSelect" onchange="changeSampler()">

View file

@ -75,12 +75,6 @@ var backupMaskChunk = null;
var backupMaskX = null;
var backupMaskY = null;
var totalImagesReturned;
// var sampler = "DDIM"; //like i think all of these from here down are probably unnecessary and i can rely on just the stableDiffusionData object?
// var steps = 30;
// var cfgScale = 7.5;
// var batchSize = 2;
// var batchCount = 2;
// var maskBlur = 0;
var drawTargets = []; // is this needed? i only draw the last one anyway...