artificial-life op• 데이터 종류: image → image
• 호출: fullseye.apply(img, "alife_langton_ant", a=0.5, b=0.5)(2-D 는 이미지 1 장 + 스칼라 노브 2 개 a,b∈[0,1] 모델)
임계값 처리된 이미지 격자 위를 걷는 Langton의 개미(turmite).
> 아래 상세 설명은 원문입니다 —— 요약과 제목은 번역되어 있습니다.
Reimplements the two-colour turmite of C. G. Langton, "Studying artificial
life with cellular automata", Physica D 22, 120-149 (1986). Cell colours are
the 0.5-threshold of the image. A single ant starts at the grid centre and,
at every step, applies the RL rule:
• on a white (0) cell: turn 90 degrees right, flip the cell to 1,
step forward one cell;
• on a black (1) cell: turn 90 degrees left, flip the cell to 0,
step forward one cell.
Movement wraps toroidally. Because every visit flips the cell it stands on,
starting from an all-white lattice a cell is black exactly when the ant has
visited it an odd number of times.
`a sets the number of steps N = 1 + int(400a); b` selects the initial
heading (up / right / down / left) which mirrors/rotates the whole
trajectory. Returns the final {0,1} colour field.
• gallery2d_physics_alife_3d 패밀리 가이드
• 샘플 데이터 카탈로그(DL URL / 라이선스) —— 2-D 는 skimage.data(BSD/public)+ 합성, 3-D 는 실데이터 소스(Stanford/PDS 등)의 DL URL.
• 연산자의 내력·참고문헌 —— 이 연산자 족의 바탕이 된 연구/기법의 출처.
• 알고리즘의 정전(저자·연도)과 용도는 위의 패밀리 사용 가이드에 적혀 있습니다.
• gallery2d_physics_alife_3d — py -3.11 examples/gallery2d_physics_alife_3d.py
image 를 입력으로 받는 것)identity · gaussian · mean_box · bilateral · unsharp · median · min_filter · max_filter
artificial-life)alife_gray_scott · alife_turing · alife_life_step · alife_cyclic_ca · alife_perona_malik · alife_curvature_flow · alife_dla · alife_reaction_bz
*Provenance: ops.py — 2D 연산자 레지스트리. 이 op 노트는 tools/opdocs.py md 가 자동 생성합니다(직접 편집하지 마세요).*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.