diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-12-21 13:12:27 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-12-21 13:12:27 +0100 |
| commit | a7d234068254a773b1c5a80ea1e025454b0b0960 (patch) | |
| tree | 664f3e27821023c2182e2ef443fcac20f8e754be /app/client | |
| parent | 4aefaf799090186fb56a6f0b566f5fd3a2647c40 (diff) | |
add saturation
Diffstat (limited to 'app/client')
| -rw-r--r-- | app/client/modules/biggan/views/biggan.live.js | 38 |
1 files changed, 13 insertions, 25 deletions
diff --git a/app/client/modules/biggan/views/biggan.live.js b/app/client/modules/biggan/views/biggan.live.js index 06785f5..fd6b12d 100644 --- a/app/client/modules/biggan/views/biggan.live.js +++ b/app/client/modules/biggan/views/biggan.live.js @@ -47,20 +47,12 @@ class BigGANLive extends Component { <p class='last_message'>{this.props.last_message}</p> </Group> - <Group - title={"Latent"} - name='latent' - > + <Group title={"Latent"}> <Button title={"Shuffle"} onClick={() => actions.live.send_command('switch', 'latent')} >{"Latent"}</Button> <Slider live - name='latent_n' - title={"Mix"} - min={0} max={1} type='float' - /> - <Slider live name='latent_speed' title={"Update Speed"} min={0.0001} max={10} type='float' @@ -72,10 +64,7 @@ class BigGANLive extends Component { /> </Group> - <Group - title={"Label"} - name='label' - > + <Group title={"Label"}> <Slider live name='num_classes' title={"Classes to mix"} @@ -90,17 +79,9 @@ class BigGANLive extends Component { title={"Mix Speed"} min={0.0001} max={10} type='float' /> - <Slider live - name='label_lerp_n' - title={"Mix"} - min={0} max={1} type='float' - /> </Group> - <Group - title={"Orbit"} - name='orbit' - > + <Group title={"Orbit"}> <Slider live name='orbit_speed' title={"Orbit speed"} @@ -120,13 +101,20 @@ class BigGANLive extends Component { title={"Noise Speed"} min={0} max={1} type='float' /> + </Group> + + <Group title={"Saturation"}> <Slider live - name='orbit_noise_n' - title={"Noise Mix"} + name='abs_zoom' + title={"Amount"} + min={0} max={4} type='float' + /> + <Slider live + name='abs_mix_n' + title={"Saturation mix"} min={0} max={1} type='float' /> </Group> - </div> </div> </div> |
