Agent Harness
Публичная копия обвязки агентной разработки: гейты, journeys, скиллы и шаблоны. Без ключей и личных данных.
Публичная копия обвязки агентной разработки: гейты, journeys, скиллы и шаблоны. Без ключей и личных данных.
import * as THREE from 'three';
// Lightning (PLAN 3), timed against high-speed strike footage (Dan Robinson / Tom Warner style).
// Thunderstrike: charge (micro-arcs over the focus, ionisation motes falling in, a cloud cap
// gathering over the target, the floor dampening under it); a dim stepped leader with branches
// feeling their way down in pulses, upward streamers rising to meet it; the blinding return stroke
// climbing the main channel; a few restrikes, each preceded by a dart leader down the same channel
// with the branches gone; then the residual channel, cooling from blue-white to rose and breaking
// into beads. A line light hangs on the channel (never inside the target's own capsule, or the
// target's shadow swallows the whole floor), so floor, pillars and dummies pulse with each stroke
// and throw shadows. Ionised air and smoke at the strike point, Lichtenberg scorch, blue sparks
// and heavy molten spatter, arcs crawling over the floor (further on wet ground), thunder
// arriving distance / 343 m/s after the stroke.
// Chain Arc: a thick channelled arc that jumps from dummy to dummy.
const SOUND_SPEED = 343;
const LEADER = 0.26, LEADER_STEPS = 16, RISE = 1 / 30,
x
fx
spark
ember
mote
ozone
ion
cloud
smoke
core glow glowDim lightCol
leaderCol warmGlow
_a _b _c
corep glowp
glowDimglow
lightColcoreglow
leaderColcoreglow
warmGlowglow
st
core glowDim
a b branches sub jag width
glowWidth reveal snap seed branchSeed branchLevel
fx
fx
c k
x z radius heat char wet glowAmt pattern seed
fx
cur c used
d
c dd c used c cur fxc
d
best bd
j j fx j
used j
dd fxjcur
dd bd bd dd best j
best
used best
dd best
cur fxbest
i i i di di
i i i di di
i i i di di
d d
d d d d
d d d d
m
m
p d stc
p
name
d
c
i i i di fx _afx
d fx
d d dlightCol d
d fx
d d d
d fx
d d d d d d dc
dc fx c fx
d d d d d d
name
i i i di di
d d
c c p d
c p d
name d c
p d stc
p
c c p d dt
c c p d dt
c p d dt
amount c c c c c c
d dt
fx d c amount
k c c d
d dt
i i i
h di
h
d
hc_afx fx fx
hc_afx fx fx k fx
h
h p k fx
d d
motec mote mote p k dt
p cloudc cloud cloud p dt
c p k fx
d dt
p c d
d
fxc c c c p c
dc
d fxinstshieldOverc c d
d
c
dd d
a fx rf d d d d
dd a rf d a rf
c d fx
d d
dd
g d
m d d g p p p c c
s
i i i s fx di s
i i i di s
d p
t
i i d i di t t i fx
d d d d m d m
d _ad d _ad d
_a _a _a
dd_a d
d d d
d cfx
d
m
m d
dd g d c c
j j fx d j
dm fxj
j c dmg
_admfx
dd_a_bfx fx fx
dd _a dd c j c j
d
m d d hot d c c c c
dim fx
m
x k x
len dk k dk pulse x k
m dk
m len pulse p
mleaderCol
mm
leaderCol
m dim
u
i i d i
h di
h
h u i
h p pulse
hleaderCol
i i d i di di
d
d d dd d c p d m
m
i d since di next d d dd last d d
peak i env since since
glowing since last
cool last since
mcore cool
mglowDimwarmGlow cool
m last since
next
m next m m
m glowing p
m m
m
m since
m i since since
m peak env glowing p
m i env cool
m i env
m m
d since d fx fx fx
lightCol cool
m m m m dim
hot
ember since
hotd
hotlightCol since
hot peak env ember p dim
d d d fx
fade c c
j j d j
h dj
h
h fx fade p fade
fx h h
c
ozoned ozone fade dt
smoked smoke smoke fade fade dt
g d f d first d floor g
d fxfirst d p d fx
sparkgg sparkfirst p
embergg emberfirst p
floor sparkf sparkfirst p emberf emberfirst p
iongg ionfirst
k k k m k ion ionfirst
floor ionf ionfirst
d fxinsthitg first glow
first
smokef smoke smoke smoke
smoke smoke smoke smoke
f f c
fx f glow
fx f
f
fx
wet f
n p
d
d
_cf d
end d d
i i d i
t0 i end t1 i end
_ad_c t0 d t0 d
_bd_c t1 d t1 d
_b _b
h _a _b c i c i
h dd h
_c
i d n i
ang i n fx
len wet fx fx p
_bf ang len f ang len
h _af _b c i c i
h
dd h
wet
fxflashglow
fxripplef f
f f c
dm fx
dist dm f dm f
d dm d dm d d
dist wet dm dm dm dm_cdm f
pool fx
g pool pool g pool pool
fxg g
d c
d
_ac
i i d i
_bfxdi
h _a _b p c i c i
h dd h
_a_b
d
d
f d
d d d
df
df f f
d
l dd
d d d
dd dl
on c d hot d dim fx
d
d dt
reseed d
reseed d
flick on fx
decay on c
i i d i
h di
h
h on c i
reseed on h h
h on flick
h decay
hcore decay
hglowDimwarmGlow decay
h on flick p h dt
reseed on h
dm fxdi
sparkdm spark p
emberdm ember p
iondm ion
dm
dintensity
dim
hot hotlightCol hot dim