aboutsummaryrefslogtreecommitdiffhomepage
path: root/public/bluebey-studio/src/presets.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/bluebey-studio/src/presets.js')
-rw-r--r--public/bluebey-studio/src/presets.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/public/bluebey-studio/src/presets.js b/public/bluebey-studio/src/presets.js
index 75a8373..d9ed3e4 100644
--- a/public/bluebey-studio/src/presets.js
+++ b/public/bluebey-studio/src/presets.js
@@ -63,6 +63,10 @@ export function defaultState() {
backgroundDarken: 0, // 0..1 dark veil, helps the character read
backgroundScale: 1,
backgroundOffset: { x: 0, y: 0 },
+ // Screen-space shift of the whole view, in fractions of the canvas. This is
+ // the "move the camera centre" pan: the orbit target stays on ぶるべー, so
+ // rotating still turns around the character.
+ viewOffset: { x: 0, y: 0 },
// "Hide ぶるべー behind a tree" mask, made by tapping the photo. `mask` is
// opaque where the object is; the export punches the character out there.
occlusionMask: null,