improved logics
parent
0300e12e70
commit
df38c3662e
|
|
@ -1,4 +1,7 @@
|
|||
### v2.0.0 - 2024 Mar.04
|
||||
- Improved Logics
|
||||
|
||||
### v2.0.zeta - 2024 Mar.04
|
||||
- Support **SDXL**
|
||||
|
||||
### v2.0.gamma - 2024 Mar.01
|
||||
|
|
|
|||
10
README.md
10
README.md
|
|
@ -111,7 +111,7 @@ Therefore, I added a scaling option to modify the offset amount throughout the p
|
|||
- **Pos. Prompt:** `[high quality, best quality], 1girl, solo, casual, night, street, city, <lora:SDXL_Lightning_8steps:1>`
|
||||
- **Neg. Prompt:** `lowres, [low quality, worst quality], jpeg`
|
||||
- `Euler A SGMUniform`; `10 steps`; `2.0 CFG`; **Seed:** `2836968120`
|
||||
- `Straight Abs.` ; `Flat`
|
||||
- `Multi-Res Abs.` ; `Cos`
|
||||
|
||||
<p align="center">
|
||||
<code>Disabled</code><br>
|
||||
|
|
@ -119,14 +119,14 @@ Therefore, I added a scaling option to modify the offset amount throughout the p
|
|||
</p>
|
||||
|
||||
<p align="center">
|
||||
<code>Brightness: 2.5 ; Contrast: -0.5 ; Saturation: 1.5<br>
|
||||
R: 2.5; G: 2.5; B: -4</code><br>
|
||||
<code>Brightness: 2.0 ; Contrast: -0.5 ; Saturation: 1.5<br>
|
||||
R: 2.5; G: 1.5; B: -3</code><br>
|
||||
<img src="samples/01.jpg" width=768>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<code>Brightness: -2.5 ; Contrast: 0.5 ; Saturation: 1.5<br>
|
||||
R: -1; G: -1; B: 2.5</code><br>
|
||||
<code>Brightness: -2.5 ; Contrast: 1 ; Saturation: 0.75<br>
|
||||
R: -1.5; G: -1.5; B: 4</code><br>
|
||||
<img src="samples/02.jpg" width=768>
|
||||
</p>
|
||||
|
||||
|
|
|
|||
|
|
@ -68,10 +68,12 @@ class VectorscopeCC {
|
|||
});
|
||||
});
|
||||
|
||||
wheel.addEventListener('mouseup', () => {
|
||||
updateInput(sliders[0][1]);
|
||||
updateInput(sliders[1][1]);
|
||||
updateInput(sliders[2][1]);
|
||||
['mouseleave', 'mouseup'].forEach((event) => {
|
||||
wheel.addEventListener(event, () => {
|
||||
updateInput(sliders[0][0]);
|
||||
updateInput(sliders[1][0]);
|
||||
updateInput(sliders[2][0]);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
BIN
samples/00.jpg
BIN
samples/00.jpg
Binary file not shown.
|
Before Width: | Height: | Size: 170 KiB After Width: | Height: | Size: 148 KiB |
BIN
samples/01.jpg
BIN
samples/01.jpg
Binary file not shown.
|
Before Width: | Height: | Size: 193 KiB After Width: | Height: | Size: 195 KiB |
BIN
samples/02.jpg
BIN
samples/02.jpg
Binary file not shown.
|
Before Width: | Height: | Size: 158 KiB After Width: | Height: | Size: 114 KiB |
|
|
@ -222,15 +222,12 @@ class VectorscopeCC(scripts.Script):
|
|||
p.extra_generation_params['Vec CC Scaling'] = scaling
|
||||
p.extra_generation_params['Vec CC Version'] = VERSION
|
||||
|
||||
# Decouple from Steps
|
||||
scale:int = 16
|
||||
|
||||
bri /= scale
|
||||
con /= scale
|
||||
sat = pow(sat, 1.0 / scale)
|
||||
r /= scale
|
||||
g /= scale
|
||||
b /= scale
|
||||
bri /= steps
|
||||
con /= steps
|
||||
sat = pow(sat, 1.0 / steps)
|
||||
r /= steps
|
||||
g /= steps
|
||||
b /= steps
|
||||
|
||||
mode = 'x' if latent else 'denoised'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue