{"id":31714509,"url":"https://github.com/davphla/wolfram","last_synced_at":"2025-10-19T13:20:17.677Z","repository":{"id":318321544,"uuid":"936899200","full_name":"Davphla/wolfram","owner":"Davphla","description":"EPITECH - Implementation of Wolfram’s elementary cellular automaton (made in 2022)","archived":false,"fork":false,"pushed_at":"2025-03-13T16:22:47.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-06T14:48:46.839Z","etag":null,"topics":["haskell","wolfram"],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Davphla.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-21T22:17:07.000Z","updated_at":"2025-03-13T16:59:33.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Davphla/wolfram","commit_stats":null,"previous_names":["davphla/wolfram"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Davphla/wolfram","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Davphla%2Fwolfram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Davphla%2Fwolfram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Davphla%2Fwolfram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Davphla%2Fwolfram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Davphla","download_url":"https://codeload.github.com/Davphla/wolfram/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Davphla%2Fwolfram/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000723,"owners_count":26082894,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["haskell","wolfram"],"created_at":"2025-10-09T01:24:35.676Z","updated_at":"2025-10-09T01:24:39.966Z","avatar_url":"https://github.com/Davphla.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elementary Cellular Automaton\n\n![image](https://github.com/user-attachments/assets/23291e68-9704-417c-b63a-36c0f70af4c3)\n\nThis project implements Wolfram's Elementary Cellular Automaton in Haskell. The goal is to simulate and display specific cellular automata rules (specifically rule 30, rule 90, and rule 110) in the terminal, based on user-defined parameters such as rule selection, generation number, window size, and translation.\n\nWolfram's Elementary Cellular Automaton is a class of simple, one-dimensional cellular automata defined by Stephen Wolfram in the 1980s. These automata are designed to explore how complex patterns and behaviors can emerge from simple rules applied to a grid of cells over time. \n\n# Installation\n## Prerequisites\n\n    Haskell (Stack version 2.1.3 or greater).\n    Ensure you are using the lts-23.3 resolver for Haskell's Stack.\n\n## Steps to Install:\n\n    Clone the repository to your local machine:\n\n```\ngit clone https://github.com/yourusername/elementary-cellular-automaton.git\ncd elementary-cellular-automaton\n```\n\nInstall the dependencies and build the project using Stack:\n\n    stack build\n\n\n# Usage\n\nTo run the program, you will invoke the compiled executable with the desired arguments.\n## Syntax:\n```\n./wolfram --rule \u003crule_number\u003e --start \u003cgeneration_number\u003e --lines \u003clines_to_display\u003e --window \u003cwindow_size\u003e --move \u003ctranslation\u003e\n```\n## Options:\n\n    --rule \u003crule_number\u003e: The rule number to use for the cellular automaton (mandatory). Options are 30, 90, 110, or any rule between 0 and 255 for bonus functionality.\n\n    --start \u003cgeneration_number\u003e: The generation number at which to start displaying the automaton. Default is 0.\n\n    --lines \u003clines_to_display\u003e: The number of generations (lines) to display. If not provided, the program will run indefinitely.\n\n    --window \u003cwindow_size\u003e: The number of cells to display on each line. If even, the central cell will be displayed in the next cell on the right. Default is 80.\n\n    --move \u003ctranslation\u003e: A translation applied to the window. If negative, the window moves to the left; if positive, it moves to the right. If not specified or invalid, the program will return an error.\n\n## Example:\n\nTo start rule 30 with a window size of 80 and 10 generations:\n```\n./wolfram --rule 30 --lines 10 --window 80\n```\nTo display 20 generations, starting at generation 5, with a translation to the left:\n```\n./wolfram --rule 110 --start 5 --lines 20 --window 80 --move -5\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavphla%2Fwolfram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavphla%2Fwolfram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavphla%2Fwolfram/lists"}