Repository navigation
Releases
Releases · baenv/beanfx
v2.5.0
Shorter runs for long, caster to target effects (2026-11-24).
Layer::Behind: the part of the effect behind the character (a ring at the back, a halo). The sheet isBehind
thenEffecton one canvas, the same bytes as drawing both inEffect; the previews draw it under the caster.Spec.parts(dr::Part) andEffect::part: the runner writes, checks and lists cast, travel and impact sheets
beside the aura parts. The defaultpartcrops the sheet, so only a part on its own clock needs code. A
partsobject inSpec.extranow joins the runner's parts instead of replacing the aura parts.cargo run --release -q -- quick: the sheet's checks and light measure only, no previews, gif, parts, page or
reseeds, for the fix loop.- The gate without Jev lists each knob's
statedandappliesquestions (questions), so the model decides from
one output and opens only the files of the knobs it asks, instead of reading all 18. SKILL.md: look at the risky frames (hits, the widest, the last) before the first full run, and usequickwhile
fixing. New snapshot casehalo; every earlier case is unchanged.
v2.4.0
The phases knob: how a cast's time splits, with timing recommendations (2026-11-24).
- New knob
knobs/phases.md: how a cast's time splits into wind-up, release, travel, impact and recovery, asked
aftertimingfor a cast, swing or caster to target effect. Four options (snappy, heavy charge, instant,
cinematic) with seconds and frames, an ASCII timeline, and timing recommendations (wind-up at least 3 frames and
a short hold, a 1 to 2 frame release, travel from distance over speed, player skills under about 1 s to the
impact, longer tells for enemies). The split goes intoSpec.windupandSpec.poses. The gate now has 18 knobs. - The release workflow also runs by hand on
main: it creates the tagv<version>fromplugin.jsonand
publishes the release, for when tags cannot be pushed (CONTRIBUTING.md).
v2.2.0
A short SKILL.md core with reference files, and an eval suite (2026-11-13).
SKILL.mdis a short core (about 200 lines, from 615): the run in order with the one-pass rule first, the brief,
drawing once, delivery and follow-ups. The detail moved, word for word, into reference files a run reads only
when it needs them:craft.md,light.md,caster.md,export.md,pixelfx.md; what a run writes and checks
is inkit/DRAFTS.md, and the trace from a reference image inresearch.md.- New eval suite
plugins/beanfx/evals/forclaude plugin eval: a brief-only case and three draw cases that grade
the sheet, the preview page, the number of draft runs and the suggested upgrades. The draw cases need cargo
reachable from the eval's fresh home folder (CONTRIBUTING.md). - Doc fixes from a test run on the short core:
Spec.caster_foot,dr::Aura, the aura first and last frame rule,
vnoiseandputunits inkit/API.md, and a light measure that still misses after one retune becomes a
suggested upgrade.
v2.1.1
One generate pass, then suggested upgrades (2026-11-13).
/beanfxgenerates one pass from the brief: write the draft, run it, fix only failing checks or a missing or
cut-off part, then deliver with 3 to 5 suggested upgrades. The look-fix loop, benchmark passes, shape takes and
glow takes become upgrades the owner picks. Glow is asked with the other knobs.
v2.1.0
The draft runner: a draft holds only the effect (2026-11-13).
- New kit module
dr. A draft fills aSpecand implementsEffect::drawon aCanvas(shapes, shade maps, the
mockup caster and additive light in world px);dr::mainwrites the previews, strips, gif, contact sheet, sheet,
JSON, aura parts and preview page and runs every check. A new draft drops from about 1000 lines to a few hundred,
so writing it costs far fewer output tokens. - Quick looks without the full run:
cargo run --release -q -- look <frames>,-- glow(three gain takes),
-- bench <id>. kit/API.mdlists the signatures a draft calls, so a draft is written without reading the kit source.- The
setup.sh --draftstarter runs ondr(36 lines). Existing drafts keep their pinned kit and run as before. - Fix: every draft's kit built into one
libbeanfxin the shared.beanfx/target(cargo names a path crate by
its path relative to the draft,kitfor all), so a draft could link another draft's kit and cargo called it
fresh.setup.sh --draftnow names each draft's kit packagebeanfx-<draft>(library name stillbeanfx, so
draft code is unchanged); run it once on an existing draft to apply it.--kit-statusignores that name line.
v2.0.0
Everything in Rust; Python leaves the plugin (2026-11-13).
- The drawing kit is the Rust crate in the skill's
kit/(librarybeanfxplus thebeanfxbinary). The Python
modules keep their short names as Rust modules (fl,fk,lt,pfx,cs,tg,rig,rf,dv,fc,
ex,sfx),imgreplaces PIL andnpandrnggive the numpy behaviour the drafts relied on, bit for bit
on macOS arm64. Keyword arguments became options structs withDefault. - A draft is now a small Cargo crate:
drafts/<name>/Cargo.toml,src/main.rsand its pinnedkit/, run with
cargo run --release -q. Drafts share one build folder in.beanfx/target, so the kit builds once per project. setup.shno longer makes.venv; it builds the binary into.beanfx/bin/beanfx(with a.gitignorein
.beanfx/) and--draft <name>scaffolds a draft crate that runs as written.--kit-statusand
--refresh-kitwork as before.- The brief gate is
beanfx gate, with the same JSON. Jev stays optional and is the only part that runs Python. - Tests are
cargo test(the Python tests became Rust tests), and CI runs them undercargo llvm-covwith an
85 percent line floor, checks the example draft and runs the runtime test.pyproject.tomlis gone. - The old Python example drafts are removed (they stay in the git history);
drafts/hoa_cong_v2is the one
example, now in Rust. - Breaking: Python drafts made with 1.x no longer run with this setup. Keep them on a 1.x install, or redraw them
as Rust drafts (setup.sh --draft <name>; the module names above map one to one, andkit/API.mdlists the
conventions). - Known differences from the Python kit: gifs with more than 256 colours quantise differently from Pillow, and the
contact and takes label rows use a bitmap font.
v1.0.0
- The fixed tooling moves to Rust: the
beanfxbinary (the skill'srust/) writes the sheets, pages, Aseprite JSON
and preview page, runs everyex.check, synthesises the sound and writes the strip, gif, contact and takes
previews.export.py,sfx.pyand thepfxwriters keep their Python API and call it throughkit/bridge.py,
so drafts do not change.setup.shbuilds the binary into.venv/bin/beanfxwith cargo, so Rust is now a
requirement. Drafts pinned to an older kit keep running their Python copy.gate.pystays Python: it calls the
Python Jev client and shares its breaker file.
v0.4.0
Pixel light, and checks for framing and texture size (2026-11-11).
- Pixel light: the light now follows the style. Hard retro cuts it with
light.steps(four flat tones, a 4x4
ordered dither only where it fades out, dark below a floor), so a frame keeps to a few dozen colours instead of
the hundreds a smooth bloom gives; soft and painterly stay smooth, and the owner can swap either way. A prompt
asking for a pixel feel gets hard retro or stepped light recommended. Feedback from pixel artists was that smooth
glow over crisp sprites "doesn't check the pixel vibe". - Colour count:
ex.colours(frame)counts a frame's distinct colours, every draft prints the median, and
ex.check(..., max_colours=N)flags a frame over N (48 with stepped light). - Preview page: a
caster.chainsegment withwalkmoves the body over the segment, and one withportalcuts
the body at the first rift line and shows it past the second, so a step through a rift plays with the caster.
Parts placed with anoffsetare no longer drawn a second time on the body. - Framing check:
ex.checknow fails a draft whose drawing sits to one side of its cell, so most of every frame
ships empty (ex.framing: the box holding 96 % of the colour, the px to cut from each side and the share of the
sheet that saves; over a third fails,trim=Noneswitches it off). Measured on the 17 examples whose sheets could be read: the
two arrow rains score 49 and 50 %, every other one 24 % or less. - Texture budget:
ex.checkfails sheets that decode to more than 128 MB (ex.memory_mb; a full 4096 px page each
for colour and light), withmax_mbto raise or lift it once the owner accepts the size.ex.writestill notes
anything over 64 MB. Existing drafts keep the kit they were drawn with, so none of them changes. - Craft gates: repeated parts in three sizes and grouped, one field or shade map per mass, one alpha per
translucent layer, clumped noise for surface texture, the subject centred in its cell. drafts/hoa_cong_v2: the fire attack redrawn to those gates on the current kit. Seven fire sites in three sizes
in place of a flame per 6 px column, the big fires between the palisade and the tents so the tents read against
them, smoke as one shade map at one alpha, clumped holes and embers, and a 240 px cell in place of 320 (41 MB
decoded, was 55).- Tests:
test_shapes.pydraws with every helper inkit/fxkit.pyandkit/fxlib.pyand with the mockup caster
(each draws, draws the same twice, keeps to its shades). Coverage 72 to 89 %, withcaster.pynow counted; the
CI floor moves from 60 to 80 %. - README demo: Shrinking the Earth (
caster_sword_suc_dia_thanh_thon.gif) in one row with the two caster gifs.
v0.3.0
Sound for an effect, optional (2026-11-10).
- Optional sound:
kit/sfx.pysynthesises an effect's sound in numpy from its own JSON (a hit cue per act hit by
its weight, a charge, whoosh or tail per state by its name, a hum for a bare loop; retro or soft voice; metal,
lightning, fire, ice, wind or arcane colour), seeded, as WAV next to the sheet withmeta.beanfx.sound. Asked
only when the request asks for sound (knobsound). The preview page plays each cue on its frame. - Voice
real: metal hits as a blade that lands (a short unpitched burst, a dense chink that dies within a tenth of a second,
grit), a hit layer withclash=Trueas blade on blade by modal synthesis (bar modes as beating pairs), and thunder from N-waves (crack, rolling
rumble, sub-boom, echoes). Recordings in the project'ssounds/(<element>_<kind>[_<weight>]*.wav) replace
the matching cues, trimmed to the hit and pitched by weight, and are listed insound.samples. sfx.volley: a fall (a blade or arrow tearing the air, swelling to its landing) and a landing for each of many
projectiles, spread by a seeded jitter, with a gain per layer; metal gather and settle have no ringing tone.- Every sound starts with two or three takes in
out/sound_takes/for the owner to pick by ear, with the bell
and drum misses ruled out first.porting.mdsays how a game playsmeta.beanfx.sound.
v0.2.0
Plain questions with pictures (2026-11-10).
- Glow takes: an open glow knob is picked on the drawing. The peak and the frames round it render at subtle,
medium and strong intoout/glow_takes.pngand.gif, then one question asks which.light.GLOWholds the
level table andpfx.takeslays out any takes (glow or shape) side by side. - Every knob file now shows an ASCII preview for its options (view, loop, role, density, placement, clarity, style,
palette, glow, caster, combo, aura, states, besides size, timing and shape), and an owner new to VFX gets one on
every question. - pytest reports each check as its own test (371 of them), not one per script;
tests/checklog.pyrecords them. - CI fails when coverage drops under 60% (
fail_underinpyproject.toml; 64% now). - The published example drafts carry their own kit in
drafts/<name>/kit/(the same files they were drawn with,
so their output is byte for byte the same), and the rootkit/is gone.