fullseye

particle_emit — GFX2D particle op

使い方

Emit count particles from origin, deterministically from seed.

Returns the particle state as a dict of arrays::

{"pos": (N,2) as (x, y), "vel": (N,2) px/s, "age": (N,), "life": (N,),
 "size": (N,) radius in px, "color": (N,4) straight rgba}

Ranges are (low, high) pairs sampled uniformly; direction is in degrees measured clockwise from the +x axis (again because the row axis points down). spread is the radius of the uniform disc the start positions are jittered over.

All randomness comes from numpy.random.default_rng(seed) — the same seed gives the same bytes, which the test suite pins with a SHA-256.

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(table を入力に取れる)

layer_stack · particle_step · particle_render

同カテゴリ(particle)

particle_step · particle_render


Provenance: gfx2d.py — GFX2D operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.