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.js17
1 files changed, 16 insertions, 1 deletions
diff --git a/public/bluebey-studio/src/presets.js b/public/bluebey-studio/src/presets.js
index 6bcf724..64480a9 100644
--- a/public/bluebey-studio/src/presets.js
+++ b/public/bluebey-studio/src/presets.js
@@ -81,6 +81,15 @@ export const BEARD_KIND_DEFAULTS = {
};
/**
+ * Per-shape starting values for 髪 (headMark), applied when a shape is picked.
+ * `teeth` only matters for ぎざぎざ, so its default is set here rather than on
+ * the shared `size`/`teeth` fields.
+ */
+export const HEAD_MARK_KIND_DEFAULTS = {
+ fringe: { size: 0.83, teeth: 0.06 },
+};
+
+/**
* 見えない壁 (the invisible wall) settings. The studio offers two, so a corner (or
* two opposite cuts) can be made. A wall's position is kept *relative to the
* character*, so moving ぶるべー carries its walls along (see src/clip.js).
@@ -155,6 +164,9 @@ export function defaultState() {
lightElevation: 40,
lightIntensity: 2.1,
ambient: 0.9,
+ // The colour of the main light and of the ambient (sky) light.
+ lightColor: '#ffffff',
+ ambientColor: '#ffffff',
exposure: 1,
// Body colours. A theme fills these in; the colour pickers then adjust
// them one part at a time, so a theme is a starting point, not a mode.
@@ -226,7 +238,7 @@ export function defaultState() {
// 帽子 (a hat on the head). `kind` is one of HAT_LIBRARY in src/hats.js.
// `x`/`z` slide it sideways / forwards, `height` lifts it off the head;
// `tiltX` leans it forward/back and `tiltZ` leans it sideways.
- hat: { kind: 'none', custom: false, x: 0, z: 0, height: 0, tiltX: 0, tiltZ: 0 },
+ hat: { kind: 'none', custom: false, x: 0, z: 0, height: -0.7, tiltX: 0, tiltZ: 0 },
eyes: {
source: 'parametric', // parametric | opened | closed | ... (hand-drawn)
linked: true, // move both eyes together
@@ -329,6 +341,7 @@ export function defaultState() {
frameWidth: 1, // multiplier on the frame stroke (EYE_LAYOUT.lidStroke)
lensColor: '#2b2433',
lensOpacity: 0.22, // 0..1; 眼鏡 is nearly clear, サングラス dark
+ lensGap: 0, // px, + moves the two lenses further apart
scale: 1, // lens size multiplier
offsetY: 0, // px, artwork units (positive = down)
tilt: 0, // degrees, both lenses turn together
@@ -867,6 +880,8 @@ export const BUBBLE_STYLES = [
{ value: 'round', label: 'まる' },
{ value: 'rect', label: 'しかく' },
{ value: 'shout', label: 'さけぶ' },
+ { value: 'whisper', label: 'ささやき' },
+ { value: 'think', label: '思考' },
{ value: 'none', label: 'なし' },
];