{"id":16942340,"url":"https://github.com/steiza/postscript_fractals","last_synced_at":"2026-01-03T18:46:59.501Z","repository":{"id":138996506,"uuid":"50121204","full_name":"steiza/postscript_fractals","owner":"steiza","description":"Short PostScript programs to make fractals as vector graphics for CNC machines, laser cuters, vinyl cutters, etc","archived":false,"fork":false,"pushed_at":"2022-03-28T22:09:02.000Z","size":887,"stargazers_count":32,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-01-26T03:44:40.325Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PostScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/steiza.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-01-21T16:40:26.000Z","updated_at":"2024-11-22T12:52:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"54a8c06e-569d-4989-94d0-af1673a050ee","html_url":"https://github.com/steiza/postscript_fractals","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/steiza%2Fpostscript_fractals","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steiza%2Fpostscript_fractals/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steiza%2Fpostscript_fractals/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steiza%2Fpostscript_fractals/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steiza","download_url":"https://codeload.github.com/steiza/postscript_fractals/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244752356,"owners_count":20504255,"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":[],"created_at":"2024-10-13T21:11:39.265Z","updated_at":"2026-01-03T18:46:59.420Z","avatar_url":"https://github.com/steiza.png","language":"PostScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"PostScript Fractals\n===================\n\nThere have never been more consumer-accessible CNC-like machines:\n\n- Laser cutters / engravers\n- Vinyl cutters\n- 3D printers\n- CNC routers\n- Plasma cutters (a bit of a stretch, but check your local `makerspace \u003chttp://maker-works.com/\u003e`_)\n\nMany of these machines work best with vector graphics, and there are plenty of vector graphic programs for drawing things manually. But what if you want to create something intricate and repetitive, like a fractal?\n\nEnter `PostScript \u003chttps://en.wikipedia.org/wiki/PostScript\u003e`_, a decades-old stack-based extra-hyphenated programming language that's perfect for defining recursive fractals.\n\nFor example, take clamshell.eps. If you change the last line to be::\n\n    500 1 DARK_TRAPAZOID\n\n... and rendering it to a PDF (on \\*nix anyways)::\n\n    ps2pdf clamshell.eps clamshell1.pdf\n\n... you get a small fractal:\n\n.. image:: http://raw.github.com/steiza/postscript_fractals/master/rendered/clamshell1.png\n\nBut if you crank up the recursion by changing the last line to be::\n\n    500 5 DARK_TRAPAZOID\n\n... you get something much more complex:\n\n.. image:: http://raw.github.com/steiza/postscript_fractals/master/rendered/clamshell.png\n\nMore correctly, these are actually `aperiodic tilings \u003chttps://en.wikipedia.org/wiki/Aperiodic_tiling\u003e`_ there are built using `substitution rules \u003chttps://en.wikipedia.org/wiki/Aperiodic_tiling#Substitutions\u003e`_, and `there are a lot of them \u003chttp://tilings.math.uni-bielefeld.de/\u003e`_.\n\n.. image:: http://raw.github.com/steiza/postscript_fractals/master/rendered/canonical3.png\n\nSo download this repo, make some fractals, and put them on stuff!\n\n.. image:: http://raw.github.com/steiza/postscript_fractals/master/rendered/closet.jpg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteiza%2Fpostscript_fractals","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteiza%2Fpostscript_fractals","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteiza%2Fpostscript_fractals/lists"}