fullseye

ifs_fractal — MATH construct op

使い方

Chaos game on an iterated function system — the dimension is a closed form.

Picks a map at random (by weights, or by area if none are given), applies it, and plots the orbit. After a short burn-in the orbit lands on the attractor and stays there, so the picture is the attractor and not a path to it.

★Why this earns its place — two numbers that must agree and were computed two different ways:

Hutchinson’s theorem gives a third, structural check: the attractor is invariant, so applying every map to the point set maps it back into itself.

maps overrides preset: a sequence of (a, b, c, d, e, f) meaning x -> [[a, b], [c, d]] x + [e, f].

Returns pairs (n, 2).

Raises ValueError: unknown preset; a map that is not 6 numbers; a map that is not a contraction (spectral norm >= 1 — the orbit would escape); n_points below 1 or over the cap; negative burn_in.

HALCON: no operator.

ファミリ共通の入力契約(fail-closed)

mathops の全 op は入力を検証してから計算する(黙って通さない):

詳しい使い方ガイド

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

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

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

neighbour_index_gaps · curve_locality

同カテゴリ(construct)

circle_packing_apollonian · ford_circles · phyllotaxis_pattern · neighbour_index_gaps · ifs_similarity_dimension · space_filling_curve · curve_locality


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

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