PICO-8

1 program Added 2025-11-07T11:08:58Z Model: google/gemini-2.5-proTemp: 0.4 Evidence Report issue View issues
Aliases: —
Provenance: commit 67e96a641d · authored 2025-11-07T12:08:58+01:00 · model google/gemini-2.5-pro

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

Pico (0.40)Picol (0.36)PicoC (0.33)Pict (0.27)Picat (0.25)

LLM-contributed programs

Sparks (A simple particle system)

Provenance: commit 67e96a641d · authored 2025-11-07T12:08:58+01:00 · model google/gemini-2.5-pro · Temp 0.4
code.p8 · license: CC BY-NC-SA 4.0 · added: 2025-11-07T11:08:58Z
-- sparks
-- by zep
--
-- a simple particle system

-- global table to store particles
parts={}

-- make a particle
function make_part(x,y,c)
 local p = {
  x=x, y=y,
  c=c,
  dx=rnd(2)-1,
  dy=rnd(2)-1,
  life=10+rnd(10)
 }
 add(parts,p)
end

function _update()
 -- make new particles at mouse
 if (btn(0)) then
  for i=1,3 do
   make_part(stat(32),stat(33),7+rnd(2))
  end
 end
 
 -- update particles
 for p in all(parts) do
  p.x+=p.dx
  p.y+=p.dy
  p.life-=1
  if (p.life < 0) del(parts,p)
 end
end

function _draw()
 cls()
 for p in all(parts) do
  pset(p.x,p.y,p.c)
 end
end

Contribute — propose a file extension

Tell us where to find evidence about PICO-8 (mapped to pl/pico_8). 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/PICO-8/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Pico Scheme PicoBlaze Assembly →