{"id":19386886,"url":"https://github.com/hhakk/nkos-rules","last_synced_at":"2026-04-28T09:36:00.857Z","repository":{"id":209301971,"uuid":"264478088","full_name":"hhakk/nkos-rules","owner":"hhakk","description":"Python code to create all the rules from \"New Kind of Science\" by Stephen Wolfram","archived":false,"fork":false,"pushed_at":"2020-05-16T16:38:00.000Z","size":2613,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-29T09:03:42.242Z","etag":null,"topics":["complex","complexity","ffmpeg","generative-art","new-kind-of-science","python","rule","stephen-wolfram","wolfram"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/hhakk.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2020-05-16T16:25:19.000Z","updated_at":"2020-06-05T12:17:08.000Z","dependencies_parsed_at":"2023-11-26T15:33:41.215Z","dependency_job_id":null,"html_url":"https://github.com/hhakk/nkos-rules","commit_stats":null,"previous_names":["hhakk/nkos-rules"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hhakk/nkos-rules","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhakk%2Fnkos-rules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhakk%2Fnkos-rules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhakk%2Fnkos-rules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhakk%2Fnkos-rules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hhakk","download_url":"https://codeload.github.com/hhakk/nkos-rules/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhakk%2Fnkos-rules/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32375616,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T09:24:15.638Z","status":"ssl_error","status_checked_at":"2026-04-28T09:24:15.071Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["complex","complexity","ffmpeg","generative-art","new-kind-of-science","python","rule","stephen-wolfram","wolfram"],"created_at":"2024-11-10T10:07:45.550Z","updated_at":"2026-04-28T09:36:00.842Z","avatar_url":"https://github.com/hhakk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nkos-rules\nPython code to create all the rules from \"New Kind of Science\" by Stephen Wolfram\n\n![Example](example.gif)\n\n## Dependencies\n\n### Python\n\n* NumPy 1.18.4\n\n### External (to batch create videos)\n\n* GNU parallel\n* ffmpeg\n\n## Usage\n\n```\npython rule.py \u003crule_number\u003e \u003csize_x\u003e \u003csize_y\u003e \u003csteps\u003e\n\nrule_number - number of rule\nsize_x, size_y - Canvas size\nsteps - How many steps to compute, must be \u003c size_y\n\n```\n\nAlternatively, create all rules as webm videos with ffmpeg (Linux)\n\n```\nbash run_all.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhhakk%2Fnkos-rules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhhakk%2Fnkos-rules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhhakk%2Fnkos-rules/lists"}