@anime-studio/director 0.0.0-stage → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +37 -2
- package/dist/album.d.ts +109 -0
- package/dist/album.d.ts.map +1 -0
- package/dist/album.js +140 -0
- package/dist/album.js.map +1 -0
- package/dist/describe.d.ts +60 -0
- package/dist/describe.d.ts.map +1 -0
- package/dist/describe.js +58 -0
- package/dist/describe.js.map +1 -0
- package/dist/direct.d.ts +90 -0
- package/dist/direct.d.ts.map +1 -0
- package/dist/direct.js +6055 -0
- package/dist/direct.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -0
- package/dist/types.d.ts +428 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/package.json +45 -3
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from "./types.js";
|
|
2
|
+
export { ACTIONS, CAMERAS, FRONT_GESTURES, MOODS, Timeline, check, closest, direct, lineCues, volumeAt, wardrobeOf } from "./direct.js";
|
|
3
|
+
export { describeKit } from "./describe.js";
|
|
4
|
+
export { HANDWRITING, luminance, photoMarkup, pictureMarkup, sideMarkup } from "./album.js";
|
|
5
|
+
export type { Album, AlbumPhoto, AlbumSide, PhotoFrame, PhotoLook, PhotoStyle } from "./album.js";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACrI,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACzF,YAAY,EAAE,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from "./types.js";
|
|
2
|
+
export { ACTIONS, CAMERAS, FRONT_GESTURES, MOODS, Timeline, check, closest, direct, lineCues, volumeAt, wardrobeOf } from "./direct.js";
|
|
3
|
+
export { describeKit } from "./describe.js";
|
|
4
|
+
export { HANDWRITING, luminance, photoMarkup, pictureMarkup, sideMarkup } from "./album.js";
|
|
5
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACrI,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC"}
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,428 @@
|
|
|
1
|
+
import type { SceneDoc, SequenceDoc, ToonDoc } from "@anime-studio/core";
|
|
2
|
+
import type { RigInfo } from "@anime-studio/kit";
|
|
3
|
+
/** A spoken (or sung, or sound-effect) line with its timing in the episode audio. */
|
|
4
|
+
export interface Line {
|
|
5
|
+
i: number;
|
|
6
|
+
/** Start / end (s). */
|
|
7
|
+
s: number;
|
|
8
|
+
e: number;
|
|
9
|
+
text: string;
|
|
10
|
+
/** Cast name, a narrator name, "song" (everybody present sings) or "sfx". */
|
|
11
|
+
speaker: string;
|
|
12
|
+
words?: {
|
|
13
|
+
w: string;
|
|
14
|
+
s: number;
|
|
15
|
+
e: number;
|
|
16
|
+
}[] | null;
|
|
17
|
+
/** When the voice actually stops (s), if measured from the audio; lip sync lasts until then. */
|
|
18
|
+
voiceEnd?: number;
|
|
19
|
+
/** A sung line: everybody present sings it. */
|
|
20
|
+
song?: boolean;
|
|
21
|
+
}
|
|
22
|
+
/** A moment in the episode, always relative to a line. */
|
|
23
|
+
export interface When {
|
|
24
|
+
line: number;
|
|
25
|
+
/** A word of that line (first occurrence, case and accents ignored). */
|
|
26
|
+
word?: string;
|
|
27
|
+
/** The end of the line instead of its start. */
|
|
28
|
+
end?: boolean;
|
|
29
|
+
/** Extra seconds. */
|
|
30
|
+
offset?: number;
|
|
31
|
+
}
|
|
32
|
+
/** A place: a set mark, a mark plus an offset (px), someone (next to them), or a prop. */
|
|
33
|
+
export type Place = string | {
|
|
34
|
+
mark: string;
|
|
35
|
+
dx?: number;
|
|
36
|
+
} | {
|
|
37
|
+
near: string;
|
|
38
|
+
side?: "left" | "right";
|
|
39
|
+
};
|
|
40
|
+
export interface CastEntry {
|
|
41
|
+
id: string;
|
|
42
|
+
/** Where they stand when the block starts (default: spread around the set's "center"). */
|
|
43
|
+
at?: string;
|
|
44
|
+
/** Slots to the left (−) or right (+) of `at`. */
|
|
45
|
+
offset?: number;
|
|
46
|
+
facing?: "left" | "right";
|
|
47
|
+
emotion?: string;
|
|
48
|
+
/** Frames per drawing for this one (default the block's `animation.twos`; `false` or 1: smooth). */
|
|
49
|
+
twos?: boolean | number;
|
|
50
|
+
/**
|
|
51
|
+
* Wardrobe for this block: wardrobe control → pose (e.g. `{ "outfit": "swim", "backpack": "off" }`).
|
|
52
|
+
* Every block starts from the rig's defaults; only what is listed here changes.
|
|
53
|
+
*/
|
|
54
|
+
wear?: Record<string, string>;
|
|
55
|
+
/**
|
|
56
|
+
* They enter later instead of being there from the start: at that moment (a `When`: line, word,
|
|
57
|
+
* end, offset), from a side (beyond the set's edge, or through its door) or from the top (dropping
|
|
58
|
+
* in, or flying in with `fly`).
|
|
59
|
+
*/
|
|
60
|
+
enter?: When & {
|
|
61
|
+
from: "left" | "right" | "top";
|
|
62
|
+
run?: boolean;
|
|
63
|
+
fly?: boolean;
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
export interface VehicleEntry {
|
|
67
|
+
id: string;
|
|
68
|
+
/** Kind in `kit.vehicles`. */
|
|
69
|
+
kind: string;
|
|
70
|
+
/** Where it stands (default: next to its first rider, or the centre). */
|
|
71
|
+
at?: Place;
|
|
72
|
+
facing?: "left" | "right";
|
|
73
|
+
/** Its wardrobe controls (e.g. `{ "trainingWheels": "on" }`). */
|
|
74
|
+
wear?: Record<string, string>;
|
|
75
|
+
color?: string;
|
|
76
|
+
/** Frames per drawing (default the block's `animation.twos`; `false` or 1: smooth). */
|
|
77
|
+
twos?: boolean | number;
|
|
78
|
+
}
|
|
79
|
+
export interface FurnitureEntry {
|
|
80
|
+
id: string;
|
|
81
|
+
/** Kind in `kit.furniture`. */
|
|
82
|
+
kind: string;
|
|
83
|
+
at?: Place;
|
|
84
|
+
/** Which way its front faces (a chair's seat front; a bed's head is behind). */
|
|
85
|
+
facing?: "left" | "right";
|
|
86
|
+
wear?: Record<string, string>;
|
|
87
|
+
color?: string;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* A graphic fixed to the screen (not the set): `art` (a `kit.graphics` name, or SVG markup drawn
|
|
91
|
+
* around its origin) at `at` (screen px), from `from` to `until` (default the block's span), coming in
|
|
92
|
+
* with `enter`, moving while it is there with `idle`, going with `exit`.
|
|
93
|
+
*/
|
|
94
|
+
export interface Graphic {
|
|
95
|
+
id: string;
|
|
96
|
+
art: string;
|
|
97
|
+
at: [number, number];
|
|
98
|
+
from?: When;
|
|
99
|
+
until?: When;
|
|
100
|
+
enter?: "pop" | "drop" | "stamp" | "spin" | "fade" | "slideLeft" | "slideRight" | "slideUp" | "slideDown" | "flyIn";
|
|
101
|
+
idle?: "wobble" | "float" | "twinkle" | "pulse";
|
|
102
|
+
exit?: "pop" | "fade" | "drop" | "slideLeft" | "slideRight" | "slideUp" | "slideDown";
|
|
103
|
+
/** Moving steadily (px/s): a background pattern rolling. */
|
|
104
|
+
scroll?: [number, number];
|
|
105
|
+
scale?: number;
|
|
106
|
+
rotation?: number;
|
|
107
|
+
color?: string;
|
|
108
|
+
/** Above (+) or under (−) the other graphics (default 0); all are above the set. */
|
|
109
|
+
z?: number;
|
|
110
|
+
}
|
|
111
|
+
export interface PropEntry {
|
|
112
|
+
id: string;
|
|
113
|
+
kind: string;
|
|
114
|
+
color?: string;
|
|
115
|
+
heldBy?: string;
|
|
116
|
+
at?: Place;
|
|
117
|
+
/** Tied by a cord (a phone's to its box): from a set mark or a scene point to the prop's `point` (a point of the kind, default `cord`). */
|
|
118
|
+
cord?: {
|
|
119
|
+
from: string | [number, number];
|
|
120
|
+
point?: string;
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
/** How a prop kind's cord looks: rest length, coils (0: a plain string), coil radius, width, colour. */
|
|
124
|
+
export interface PropCord {
|
|
125
|
+
length?: number;
|
|
126
|
+
coils?: number;
|
|
127
|
+
radius?: number;
|
|
128
|
+
width?: number;
|
|
129
|
+
color?: string;
|
|
130
|
+
}
|
|
131
|
+
export type Beat = When & {
|
|
132
|
+
do: string;
|
|
133
|
+
until?: When;
|
|
134
|
+
[k: string]: unknown;
|
|
135
|
+
};
|
|
136
|
+
export interface Block {
|
|
137
|
+
id: string;
|
|
138
|
+
set: string;
|
|
139
|
+
/** First line of the block. */
|
|
140
|
+
from: number;
|
|
141
|
+
/** First line after the block (exclusive). */
|
|
142
|
+
to: number;
|
|
143
|
+
cast: CastEntry[];
|
|
144
|
+
props?: PropEntry[];
|
|
145
|
+
/** Cartoon timing of this block (default the staging's). */
|
|
146
|
+
animation?: Animation;
|
|
147
|
+
/**
|
|
148
|
+
* An insert: built on the same lines as the others but not part of the live action — it shows only
|
|
149
|
+
* where a cut `insert`s it (a montage: icons, a logo, another place between the verses).
|
|
150
|
+
*/
|
|
151
|
+
insert?: boolean;
|
|
152
|
+
/** How this block comes in after the previous one (default a straight cut): `fade`, `flash`, `crossfade`, `iris`, `wipe`. */
|
|
153
|
+
transition?: string;
|
|
154
|
+
/** A photo album lying open in the set: pages with photos of other blocks, turning, closing. */
|
|
155
|
+
album?: import("./album.js").Album;
|
|
156
|
+
/** Motion graphics on the screen (a logo, stickers, an icon, flying letters): see `Graphic`. */
|
|
157
|
+
graphics?: Graphic[];
|
|
158
|
+
/** Vehicles standing in the block that the cast can ride (a bicycle, a scooter…). */
|
|
159
|
+
vehicles?: VehicleEntry[];
|
|
160
|
+
/** Light mood at the start of the block (default: the set's `mood`, else "day"). */
|
|
161
|
+
mood?: string;
|
|
162
|
+
/** Furniture in the block (chairs, beds…) to sit or lie on. */
|
|
163
|
+
furniture?: FurnitureEntry[];
|
|
164
|
+
camera?: {
|
|
165
|
+
type: string;
|
|
166
|
+
who?: string | string[];
|
|
167
|
+
mark?: string;
|
|
168
|
+
};
|
|
169
|
+
beats?: Beat[];
|
|
170
|
+
}
|
|
171
|
+
export interface Cut {
|
|
172
|
+
line: number;
|
|
173
|
+
word?: string;
|
|
174
|
+
/** Seconds after (or before) that moment, as in a beat. */
|
|
175
|
+
offset?: number;
|
|
176
|
+
/** At the end of the line instead of its start. */
|
|
177
|
+
end?: boolean;
|
|
178
|
+
/** Show a window of an earlier block (muted speech) instead of the live action. */
|
|
179
|
+
replay?: {
|
|
180
|
+
block: string;
|
|
181
|
+
line: number;
|
|
182
|
+
word?: string;
|
|
183
|
+
};
|
|
184
|
+
/**
|
|
185
|
+
* Rewind the tape: what was shown plays backwards, fast and silent, under a VHS overlay, from this
|
|
186
|
+
* cut back to that moment, until `until` (default the end of `line`).
|
|
187
|
+
*/
|
|
188
|
+
rewind?: {
|
|
189
|
+
line: number;
|
|
190
|
+
word?: string;
|
|
191
|
+
end?: boolean;
|
|
192
|
+
offset?: number;
|
|
193
|
+
};
|
|
194
|
+
/** Cut to an insert block (`insert: true`), in step with it (it is timed on the same lines). */
|
|
195
|
+
insert?: string;
|
|
196
|
+
/** Back to the live action after it (default a straight cut; a replay flashes back). */
|
|
197
|
+
transitionOut?: string;
|
|
198
|
+
/** Until this moment (default: the end of `line`). */
|
|
199
|
+
until?: When;
|
|
200
|
+
transition?: string;
|
|
201
|
+
}
|
|
202
|
+
export interface Text {
|
|
203
|
+
line: number;
|
|
204
|
+
text: string;
|
|
205
|
+
until?: When;
|
|
206
|
+
}
|
|
207
|
+
/** What the AI writes (see docs/DIRECTOR.md). */
|
|
208
|
+
export interface Music {
|
|
209
|
+
/** Audio file (as the composition resolves it). */
|
|
210
|
+
src: string;
|
|
211
|
+
/** Starts at this moment (default: the beginning). */
|
|
212
|
+
from?: When;
|
|
213
|
+
/** Ends at this moment (default: the end), fading out over `fade`. */
|
|
214
|
+
until?: When;
|
|
215
|
+
/** Volume when nobody speaks (default 0.5) and under speech (default 0.15). */
|
|
216
|
+
volume?: number;
|
|
217
|
+
duck?: number;
|
|
218
|
+
/** Fade in/out (s, default 1). */
|
|
219
|
+
fade?: number;
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* Cartoon timing of the characters (the scene's `animation`, FORMAT §3.8): `twos` — frames per
|
|
223
|
+
* drawing (`true` = 2: the classic "on twos"; the camera, free props and lighting stay smooth);
|
|
224
|
+
* `holds` — moving holds, 0..1: a held pose keeps drifting subtly instead of freezing;
|
|
225
|
+
* `anticipation` — 0..1 (default 0: off): walks lean back before setting off, into the move and
|
|
226
|
+
* past upright on arrival, landings squash and settle, free limb moves overshoot and settle
|
|
227
|
+
* (from 0.5). Staged by the director: it never reaches the scene's `animation`.
|
|
228
|
+
* `life` — 0..1 (default 0: off): blinks on head turns, saccades while listening, head accents on
|
|
229
|
+
* stressed words (staged by the director, never in the scene). `arcs` — 0..1 (default 0: off): IK
|
|
230
|
+
* moves travel along arcs (the director's paired `ik.<id>.x/y` moves; the scene's reach blends).
|
|
231
|
+
* `smear` and `boil` go to the scene as they are.
|
|
232
|
+
*/
|
|
233
|
+
export interface Animation {
|
|
234
|
+
twos?: boolean | number;
|
|
235
|
+
holds?: number;
|
|
236
|
+
anticipation?: number;
|
|
237
|
+
life?: number;
|
|
238
|
+
arcs?: number;
|
|
239
|
+
/** Passed on to the scene (FORMAT §3.8): smears on fast moves, line boil on the outlines. */
|
|
240
|
+
smear?: number;
|
|
241
|
+
boil?: number;
|
|
242
|
+
}
|
|
243
|
+
export interface Staging {
|
|
244
|
+
blocks: Block[];
|
|
245
|
+
/** Cartoon timing for every block (a block's own `animation` overrides it). */
|
|
246
|
+
animation?: Animation;
|
|
247
|
+
cuts?: Cut[];
|
|
248
|
+
texts?: Text[];
|
|
249
|
+
/** A music bed under the episode: it ducks under the dialogue (not under songs). */
|
|
250
|
+
music?: Music[];
|
|
251
|
+
/** What the story needed but the kit does not have (ignored by the director; a to-do list). */
|
|
252
|
+
missing?: unknown[];
|
|
253
|
+
/**
|
|
254
|
+
* How the camera behaves where no `camera` beat says otherwise. `dynamic` (default): the block's
|
|
255
|
+
* camera and the beats only. `conversation`: a stable framing of whoever takes part in the exchange
|
|
256
|
+
* (two-shot / group), re-framed only when they change, someone comes or goes, or every 12 s at most.
|
|
257
|
+
*/
|
|
258
|
+
camera?: {
|
|
259
|
+
style?: "dynamic" | "conversation";
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* A prop that hangs from the hand and swings like a pendulum (a lantern, a bucket, a handbag): the
|
|
264
|
+
* point of its art the hand holds (default its top), the string's length (px), damping, the largest
|
|
265
|
+
* swing (degrees). Passed to the scene's `grab` as `hang`.
|
|
266
|
+
*/
|
|
267
|
+
export interface PropHang {
|
|
268
|
+
point?: [number, number];
|
|
269
|
+
length?: number;
|
|
270
|
+
damping?: number;
|
|
271
|
+
limit?: number;
|
|
272
|
+
}
|
|
273
|
+
export interface Mark {
|
|
274
|
+
x: number;
|
|
275
|
+
y?: number;
|
|
276
|
+
/** A place to sit drawn in the set (bench, log…): seat height above the ground line (scene px). */
|
|
277
|
+
seat?: number;
|
|
278
|
+
/** One can also lie on it (bed, sofa, grass bank): its surface is `seat` px high. */
|
|
279
|
+
lie?: boolean;
|
|
280
|
+
/** A door: who `enter`s from this side (`left` / `right`) comes in through it (appears in the doorway). */
|
|
281
|
+
door?: "left" | "right";
|
|
282
|
+
}
|
|
283
|
+
export interface SetLayer {
|
|
284
|
+
id: string;
|
|
285
|
+
art: string;
|
|
286
|
+
parallax?: number;
|
|
287
|
+
moods?: string[];
|
|
288
|
+
}
|
|
289
|
+
export interface SetDef {
|
|
290
|
+
/** Background layers; with `moods` a layer shows only in those light moods (a night sky, a sunset). */
|
|
291
|
+
layers: SetLayer[] | (() => SetLayer[]);
|
|
292
|
+
/** Light mood the set starts in (default "day"); a block's `mood` overrides it. */
|
|
293
|
+
mood?: string;
|
|
294
|
+
/** Feet line of the near ground and (sets with depth) of the far side. */
|
|
295
|
+
ground: {
|
|
296
|
+
near: number;
|
|
297
|
+
far?: number;
|
|
298
|
+
};
|
|
299
|
+
/** Character scale multiplier on the far ground. */
|
|
300
|
+
depthScale?: number;
|
|
301
|
+
marks: Record<string, Mark>;
|
|
302
|
+
/** Furniture that is part of the place (sofa, bed, benches, school desks), always there: like block furniture. */
|
|
303
|
+
furniture?: FurnitureEntry[];
|
|
304
|
+
/** Scenery rigs that are always there (traffic light…): a character placed at a mark. */
|
|
305
|
+
fixtures?: {
|
|
306
|
+
id: string;
|
|
307
|
+
character: string;
|
|
308
|
+
mark: string;
|
|
309
|
+
y?: number;
|
|
310
|
+
scale?: number;
|
|
311
|
+
z?: number;
|
|
312
|
+
flip?: boolean;
|
|
313
|
+
channel?: string;
|
|
314
|
+
value?: string;
|
|
315
|
+
/** Same depth as the layer it is drawn on (e.g. a clock on a tower in a parallax 0.6 layer). */
|
|
316
|
+
parallax?: number;
|
|
317
|
+
/** Clip looping from the start (a clock's second hand, a weather vane); default the rig's `loop` clip. */
|
|
318
|
+
clip?: string;
|
|
319
|
+
/** Shown only in these light moods (the moon, twinkling stars). */
|
|
320
|
+
moods?: string[];
|
|
321
|
+
/** Frames per drawing (default the block's `animation.twos`; a clock's hand: `false`, smooth). */
|
|
322
|
+
twos?: boolean | number;
|
|
323
|
+
}[];
|
|
324
|
+
bounds?: [number, number, number, number];
|
|
325
|
+
background?: string;
|
|
326
|
+
/** Scene lighting; a light with `moods` is lit only in those moods (street lamps at night, the sun by day). */
|
|
327
|
+
lighting?: Record<string, unknown>;
|
|
328
|
+
}
|
|
329
|
+
export interface CastMember {
|
|
330
|
+
/** Name used in the script ("Grandma Rose"). */
|
|
331
|
+
name: string;
|
|
332
|
+
/** Other ways the script addresses them ("grandma"). */
|
|
333
|
+
aliases?: string[];
|
|
334
|
+
scale: number;
|
|
335
|
+
rig: RigInfo;
|
|
336
|
+
/** Speed (px/s at scale 1) for walk and run. */
|
|
337
|
+
speed?: {
|
|
338
|
+
walk: number;
|
|
339
|
+
run: number;
|
|
340
|
+
fly?: number;
|
|
341
|
+
};
|
|
342
|
+
}
|
|
343
|
+
/** The pieces a series (or a one-off video) is made of. */
|
|
344
|
+
export interface Kit {
|
|
345
|
+
/** Every rig used by the scenes: cast, vehicles, fixtures, birds… */
|
|
346
|
+
characters: Record<string, ToonDoc>;
|
|
347
|
+
cast: Record<string, CastMember>;
|
|
348
|
+
/** Speaker names that are narration (no character speaks). */
|
|
349
|
+
narrators?: string[];
|
|
350
|
+
sets: Record<string, SetDef>;
|
|
351
|
+
/** Props by kind: art drawn around the origin, and the radius (half height) so it rests on the ground. */
|
|
352
|
+
/**
|
|
353
|
+
* Props by kind: art drawn around the origin, the radius (half height) so it rests on the ground,
|
|
354
|
+
* and contact `points` of the art (a phone's `grip`, `ear`, `mouth`; a glass's `grip`, `lip`) for
|
|
355
|
+
* fitting it to the body (`use` beat, the phone / smoke / drink gestures); `gripFrom`: where the
|
|
356
|
+
* holder's forearm comes from at the grip, degrees in the holder's frame (0 = forward, 90 = from
|
|
357
|
+
* below; default 70, down and a little forward): the elbow goes there. `hang`: carried hanging
|
|
358
|
+
* from the hand, swinging (held in the far hand when it is free, so the near one stays free).
|
|
359
|
+
*/
|
|
360
|
+
props: Record<string, {
|
|
361
|
+
art: (o: {
|
|
362
|
+
color?: string;
|
|
363
|
+
}) => string;
|
|
364
|
+
radius: number;
|
|
365
|
+
points?: Record<string, [number, number]>;
|
|
366
|
+
gripFrom?: number;
|
|
367
|
+
cord?: PropCord;
|
|
368
|
+
hang?: PropHang;
|
|
369
|
+
}>;
|
|
370
|
+
/** Motion graphics by name (a logo's pieces, stickers, icons): art drawn around the origin. */
|
|
371
|
+
graphics?: Record<string, (o: {
|
|
372
|
+
color?: string;
|
|
373
|
+
}) => string>;
|
|
374
|
+
/**
|
|
375
|
+
* Vehicles by kind. `scale` is for a cast member of scale 1 (a ridden vehicle is multiplied by its
|
|
376
|
+
* rider's scale). A vehicle whose rig has a `seat` anchor can be ridden (see DIRECTOR.md, Riding).
|
|
377
|
+
*/
|
|
378
|
+
vehicles?: Record<string, {
|
|
379
|
+
character: string;
|
|
380
|
+
scale: number;
|
|
381
|
+
speed?: number;
|
|
382
|
+
}>;
|
|
383
|
+
/**
|
|
384
|
+
* Sound effects by event (audio files as the composition resolves them, optionally with a
|
|
385
|
+
* volume): played automatically when the staging does these things — hit, dash, fall, land,
|
|
386
|
+
* whip, crash, fly, jump — and by name with the `sound` beat.
|
|
387
|
+
*/
|
|
388
|
+
sounds?: Record<string, string | {
|
|
389
|
+
src: string;
|
|
390
|
+
volume?: number;
|
|
391
|
+
}>;
|
|
392
|
+
/**
|
|
393
|
+
* Furniture by kind (chairs, benches, sofas, beds): rigs with a `seat` anchor (where the hip joint
|
|
394
|
+
* goes when sitting) and/or a `bed` anchor (where the hip goes when lying). `scale` as for vehicles.
|
|
395
|
+
*/
|
|
396
|
+
furniture?: Record<string, {
|
|
397
|
+
character: string;
|
|
398
|
+
scale: number;
|
|
399
|
+
}>;
|
|
400
|
+
width?: number;
|
|
401
|
+
height?: number;
|
|
402
|
+
fps?: number;
|
|
403
|
+
}
|
|
404
|
+
export interface Overlay {
|
|
405
|
+
text: string;
|
|
406
|
+
from: number;
|
|
407
|
+
to: number;
|
|
408
|
+
row: number;
|
|
409
|
+
}
|
|
410
|
+
export interface Issue {
|
|
411
|
+
severity: "error" | "warning";
|
|
412
|
+
where: string;
|
|
413
|
+
message: string;
|
|
414
|
+
}
|
|
415
|
+
export interface Directed {
|
|
416
|
+
sequence: SequenceDoc;
|
|
417
|
+
scenes: Record<string, SceneDoc>;
|
|
418
|
+
overlays: Overlay[];
|
|
419
|
+
/** Music beds with their volume envelopes (episode time): play them with `volumeAt`. */
|
|
420
|
+
music: {
|
|
421
|
+
src: string;
|
|
422
|
+
start: number;
|
|
423
|
+
end: number;
|
|
424
|
+
volume: [number, number][];
|
|
425
|
+
}[];
|
|
426
|
+
issues: Issue[];
|
|
427
|
+
}
|
|
428
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjD,qFAAqF;AACrF,MAAM,WAAW,IAAI;IACnB,CAAC,EAAE,MAAM,CAAC;IACV,uBAAuB;IACvB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,IAAI,EAAE,MAAM,CAAC;IACb,6EAA6E;IAC7E,OAA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AAC;IACjE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,KAAK;IACpB,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,QAAQ;IACvB,QAAQ,EAAE,WAAW,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IACjC,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,wFAAwF;IACxF,KAAK,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAA;KAAE,EAAE,CAAC;IACjF,MAAM,EAAE,KAAK,EAAE,CAAC;CACjB"}
|
package/dist/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,48 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anime-studio/director",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Stages whole animeStudio episodes from a staging, timed lines and a kit of characters.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"animation",
|
|
7
|
+
"cartoon",
|
|
8
|
+
"2d-animation",
|
|
9
|
+
"svg",
|
|
10
|
+
"character-animation",
|
|
11
|
+
"animestudio"
|
|
12
|
+
],
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"author": "Dener Fernandes (https://github.com/denerFernandes)",
|
|
15
|
+
"homepage": "https://github.com/denerFernandes/animeStudio/tree/master/packages/director#readme",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/denerFernandes/animeStudio.git",
|
|
19
|
+
"directory": "packages/director"
|
|
20
|
+
},
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://github.com/denerFernandes/animeStudio/issues"
|
|
23
|
+
},
|
|
24
|
+
"type": "module",
|
|
25
|
+
"main": "./dist/index.js",
|
|
26
|
+
"types": "./dist/index.d.ts",
|
|
27
|
+
"exports": {
|
|
28
|
+
".": {
|
|
29
|
+
"types": "./dist/index.d.ts",
|
|
30
|
+
"import": "./dist/index.js"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"files": [
|
|
34
|
+
"dist",
|
|
35
|
+
"README.md",
|
|
36
|
+
"LICENSE"
|
|
37
|
+
],
|
|
38
|
+
"engines": {
|
|
39
|
+
"node": ">=22"
|
|
40
|
+
},
|
|
41
|
+
"publishConfig": {
|
|
42
|
+
"access": "public"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@anime-studio/core": "0.2.0",
|
|
46
|
+
"@anime-studio/kit": "0.2.0"
|
|
47
|
+
}
|
|
6
48
|
}
|