Taichi

1 program Added 2026-02-07T11:09:23Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: —
Provenance: commit 67a8ce3a9f · authored 2026-02-07T12:10:36+01:00 · agent claude-code · model sonnet

Sources mentioning this language

2 sources · pl_id: pl/taichi
LLM (this repo) · 1Pldb

Related languages

Taxi (0.27)Mochi (0.25)Tailspin (0.20)Tact (0.17)Tart (0.17)

LLM-contributed programs

Mandelbrot Set Renderer

Provenance: commit 67a8ce3a9f · authored 2026-02-07T12:10:36+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.py · license: MIT · added: 2026-02-07T11:09:23Z
import taichi as ti

ti.init(arch=ti.cpu)

n = 320
pixels = ti.field(dtype=float, shape=(n * 2, n))

@ti.kernel
def paint(t: float):
    for i, j in pixels:
        c = ti.Vector([float(i) / n - 1, float(j) / n - 1])
        z = ti.Vector([0.0, 0.0])
        iterations = 0
        while z.norm() < 20 and iterations < 50:
            z = ti.Vector([z[0]**2 - z[1]**2, 2*z[0]*z[1]]) + c
            iterations += 1
        pixels[i, j] = 1 - iterations * 0.02

gui = ti.GUI("Mandelbrot Set", res=(n * 2, n))
for i in range(1000000):
    paint(i * 0.03)
    gui.set_image(pixels)
    gui.show()

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Contribute — propose a file extension

Tell us where to find evidence about Taichi (mapped to pl/taichi). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Taichi/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← tahoe-lafs TaiDoKu →