{"id":20684180,"url":"https://github.com/chrispritchard/substrate","last_synced_at":"2025-03-10T21:52:34.530Z","repository":{"id":97697572,"uuid":"150075492","full_name":"ChrisPritchard/Substrate","owner":"ChrisPritchard","description":"A port to immutable and functional F# from the original Java implementation by j.tarbell (http://www.complexification.net/gallery/machines/substrate/)","archived":false,"fork":false,"pushed_at":"2019-02-13T23:43:36.000Z","size":183,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T16:14:46.992Z","etag":null,"topics":["art","computer-art","corert","fsharp","substrate"],"latest_commit_sha":null,"homepage":null,"language":"F#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChrisPritchard.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-09-24T08:45:01.000Z","updated_at":"2019-02-14T02:26:54.000Z","dependencies_parsed_at":"2023-06-02T19:15:07.369Z","dependency_job_id":null,"html_url":"https://github.com/ChrisPritchard/Substrate","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/ChrisPritchard%2FSubstrate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisPritchard%2FSubstrate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisPritchard%2FSubstrate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisPritchard%2FSubstrate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChrisPritchard","download_url":"https://codeload.github.com/ChrisPritchard/Substrate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242933887,"owners_count":20208912,"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":["art","computer-art","corert","fsharp","substrate"],"created_at":"2024-11-16T22:19:41.914Z","updated_at":"2025-03-10T21:52:34.519Z","avatar_url":"https://github.com/ChrisPritchard.png","language":"F#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Substrate\n\nA port to immutable and functional F# from the original Java implementation by j.tarbell (\u003chttp://www.complexification.net/gallery/machines/substrate/\u003e)\n\n\u003cp align=\"center\"\u003e\n    \u003cimg alt=\"screenshot\" src=\"./result.png\"\u003e\n\u003c/p\u003e\n\nThis specific implementation is a port of the code found here, more or less: \u003chttp://www.complexification.net/gallery/machines/substrate/appletl/substrate_l.pde\u003e\n\nChanges from the source include:\n\n- Obviously, its in F# and makes use of immutability, purity and all the pipelining/match goodness to be much more concise than the original java\n- I haven't implemented the colouring, the 'sand painter' effect. Just because I don't really like the colours they had, but I might add this at a later date\n\n~~## System.Drawing.Common~~\n\n~~The output of this code, defined in Program.fs, makes use of System.Drawing.Common to compose a png. This works fine in windows, as it uses native GDI+. On Linux and Mac you will need to install 'libgdiplus' to get this working.~~\n\n## Update - MonoGame integration\n\nUsing my wrapped monogame core loop **fsharp-gamecore**, this project now draws in real time. If you want a bitmap, feel free to walk back prior to this change in the commit history.\n\n## Core RT\n\nBecause the core algorithm is quite slow (average 30 seconds on my i7), I have added CoreRT. If you run `dotnet publish -r win-x64` or `linux-x64` or `osx-x64` and have the right requirements for CoreRT (things like C++ Build tools on windows, or clang and supporting libs on linux) it will output an executable that is MUCH faster (i.e. 10x).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrispritchard%2Fsubstrate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrispritchard%2Fsubstrate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrispritchard%2Fsubstrate/lists"}