{"id":16723727,"url":"https://github.com/nqpz/graffito","last_synced_at":"2026-01-02T17:06:15.150Z","repository":{"id":63106017,"uuid":"564051194","full_name":"nqpz/graffito","owner":"nqpz","description":"A small stencil framework for quick design and visualization","archived":false,"fork":false,"pushed_at":"2024-08-20T20:56:16.000Z","size":749,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-22T04:13:52.944Z","etag":null,"topics":["automaton","futhark","gpu","stencil"],"latest_commit_sha":null,"homepage":"","language":"Futhark","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nqpz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-09T22:15:36.000Z","updated_at":"2024-08-20T20:56:19.000Z","dependencies_parsed_at":"2024-03-28T11:39:06.289Z","dependency_job_id":"7bfc22f5-baa7-4dab-b5a0-a5ea0f6094b5","html_url":"https://github.com/nqpz/graffito","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nqpz%2Fgraffito","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nqpz%2Fgraffito/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nqpz%2Fgraffito/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nqpz%2Fgraffito/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nqpz","download_url":"https://codeload.github.com/nqpz/graffito/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243738987,"owners_count":20340002,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automaton","futhark","gpu","stencil"],"created_at":"2024-10-12T22:39:30.047Z","updated_at":"2026-01-02T17:06:15.143Z","avatar_url":"https://github.com/nqpz.png","language":"Futhark","funding_links":[],"categories":[],"sub_categories":[],"readme":"# graffito\n\n![](screenshot.png)\n\nA small stencil framework for quick design and visualization.\n\nRequires [Futhark](http://futhark-lang.org) and SDL2 and SDL2-ttf\nlibraries with associated header files.\n\n\n## Building and running\n\nFirst run `futhark pkg sync` once.\n\nThen run `make` to build all programs.\n\nThe programs go in the `bin` directory:\n\n- `bin/template`: A small template with comments in order to get started.\n- `bin/steal`: An area-stealing algorithm, kind of.\n- `bin/routefinder`: Visualize route finding.\n- `bin/gameoflifeprob`: A probabilistic Game of Life.\n- `bin/gameoflife`: A very basic, no-frills implementation of Game of Life.\n- `bin/closingframe`: A growing black frame around a square of colors.\n- `bin/diamonds`: Growing diamonds.\n- `bin/consistencyfier`: Not sure yet.\n- `bin/lines`: Scraggly lines.\n- `bin/producerconsumer`: Glittering small movements.\n- `rain`: Blue, long droplets.\n- `collatz`: A quiet sea (takes a while to get started).\n- `gravity`: A simple implementation of gravity as we know it.  Can\n  require multiple passes of the stencil.\n- `squarespiral`: Many spiraling square shapes.\n\nPass `--help` to any program to see which options can be changed.\n\nControls in the visualizations:\n\n- Space: Pause\n- S: Step once\n- R: Reset\n\n\n## Adding stencils\n\n- Create a new directory under `stencils/` with a `stencil.fut` file and\n  a Makefile.\n- Extend the root `Makefile`.\n\n\n## MEGAGRAFFITO\n\nSee also the [MEGAGRAFFITO](./MEGAGRAFFITO) subdirectory for a single\nprogram containing all the stencils (not built by default).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnqpz%2Fgraffito","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnqpz%2Fgraffito","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnqpz%2Fgraffito/lists"}