Cartoon: mãos, membros e cenários novos; elenco de Noé e a Arca
- Mãos com formas e rotações próprias, membros articulados (limbs) e animais. - Elementos de cenário separados (natureza, construções, interiores) e testes de lugares. - Personagens reaproveitáveis de Noé e a Arca (Noé, esposa, Sem, Cam e Jafé) e a fonte Barlow Semi Condensed. - História noe-e-a-arca: pauta, bíblia, roteiro do ep. 1, tomadas Cartoon e montagem. - Montagem: narração mais corrida (tira silêncios longos) e cabeçalho com o número do vídeo. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -7,7 +7,7 @@ import { emphasisAt, speak, visemeAt, type SpokenWord } from "./lipsync";
|
||||
import { blendBody, blendFace, bodyOf, faceOf, withBody, withFace, type BodyParams, type BodyPatch, type FaceParams, type FacePatch } from "./rig";
|
||||
|
||||
export const ACTIONS = ["express", "pose", "walk", "run", "enter", "exit", "jump", "nod", "shake_head", "tremble", "bounce", "fall",
|
||||
"sit", "stand_up", "turn", "talk", "look", "emote", "wave"] as const;
|
||||
"sit", "stand_up", "turn", "talk", "look", "emote", "wave", "hammer"] as const;
|
||||
export type ActionKind = (typeof ACTIONS)[number];
|
||||
|
||||
export type Action = {
|
||||
@@ -42,7 +42,7 @@ export type ActorState = {
|
||||
|
||||
const DEFAULT_DUR: Record<ActionKind, number> = {
|
||||
express: 0.25, pose: 0.35, walk: 1.6, run: 0.9, enter: 1.2, exit: 1.2, jump: 0.8, nod: 0.7, shake_head: 0.8, tremble: 1, bounce: 0.8,
|
||||
fall: 0.6, sit: 0.5, stand_up: 0.5, turn: 0.3, talk: 1.5, look: 0.3, emote: 1.2, wave: 1.2,
|
||||
fall: 0.6, sit: 0.5, stand_up: 0.5, turn: 0.3, talk: 1.5, look: 0.3, emote: 1.2, wave: 1.2, hammer: 2.4,
|
||||
};
|
||||
|
||||
const clamp01 = (v: number) => Math.max(0, Math.min(1, v));
|
||||
@@ -189,6 +189,12 @@ export function evaluate(actor: ActorInput, t: number, durationS: number, seed =
|
||||
break;
|
||||
}
|
||||
case "emote": if (active) st.emote = { text: a.text ?? "!", k: env }; break;
|
||||
// Martelar: braço direito sobe e desce batendo (`times` golpes), cabeça acompanha cada batida.
|
||||
case "hammer": if (active) {
|
||||
const beat = Math.abs(Math.sin(p * Math.PI * (a.times ?? 5)));
|
||||
st.body = withBody(st.body, { armR: { raise: 40 + beat * 95 * Math.min(1, env * 1.5), bend: 60 + beat * 40 }, headNod: st.body.headNod + (1 - beat) * 0.15 * env });
|
||||
break;
|
||||
}
|
||||
case "wave": if (active) st.body = withBody(st.body, { armR: { raise: 140 * Math.min(1, env * 1.5), bend: -25 + Math.sin(p * Math.PI * 2 * (a.times ?? 3)) * 30 } }); break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user