summaryrefslogtreecommitdiff
path: root/app/client
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-07-27 18:07:23 +0200
committerJules Laplace <julescarbon@gmail.com>2018-07-27 18:07:23 +0200
commitf1aa17aff5a252f7e7a00b81954e0c172dee9d32 (patch)
tree0bec492532f150ee038a40cf2fe1bb19f858c62c /app/client
parentc7fe6516850c08d6082513ebe918f9315a33f818 (diff)
sequence_step
Diffstat (limited to 'app/client')
-rw-r--r--app/client/live/live.reducer.js2
-rw-r--r--app/client/modules/pix2pixhd/views/pix2pixhd.live.js11
2 files changed, 11 insertions, 2 deletions
diff --git a/app/client/live/live.reducer.js b/app/client/live/live.reducer.js
index cb9e8a4..810f84c 100644
--- a/app/client/live/live.reducer.js
+++ b/app/client/live/live.reducer.js
@@ -5,7 +5,7 @@ import types from '../types'
const liveInitialState = {
loading: false,
error: null,
- opt: {},
+ opt: { hue: 0, saturation: 0, luminosity: 0, sequence_step: 1, recurse_roll: 0, rotate: 0, scale: 0, process_frac: 0.5 },
checkpoints: [],
epochs: ['latest'],
sequences: [],
diff --git a/app/client/modules/pix2pixhd/views/pix2pixhd.live.js b/app/client/modules/pix2pixhd/views/pix2pixhd.live.js
index 5443638..aea1ec6 100644
--- a/app/client/modules/pix2pixhd/views/pix2pixhd.live.js
+++ b/app/client/modules/pix2pixhd/views/pix2pixhd.live.js
@@ -107,7 +107,7 @@ class Pix2PixHDLive extends Component {
<div className='params row'>
<div className='column'>
<ParamGroup
- title='Playback'
+ title='Network'
noToggle
>
<Select live
@@ -134,6 +134,11 @@ class Pix2PixHDLive extends Component {
options={this.props.epochs}
onChange={this.changeEpoch}
/>
+ </ParamGroup>
+ <ParamGroup
+ title='Playback'
+ name='sequence_playing'
+ >
<Slider
name='position'
min={0.0} max={1.0} type='float'
@@ -141,6 +146,10 @@ class Pix2PixHDLive extends Component {
onChange={this.seek}
/>
<Slider live
+ name='sequence_step'
+ min={-4.0} max={4.0} type='float'
+ />
+ <Slider live
name='frame_delay'
min={0.0} max={2.0} type='float'
/>