{"id":17486286,"url":"https://github.com/phrb/3d-spanning-tree","last_synced_at":"2025-03-28T14:42:11.720Z","repository":{"id":18715034,"uuid":"21925875","full_name":"phrb/3d-spanning-tree","owner":"phrb","description":"Python script for generating 3d spanning trees.","archived":false,"fork":false,"pushed_at":"2016-10-01T01:38:29.000Z","size":718,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T14:48:59.584Z","etag":null,"topics":[],"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/phrb.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}},"created_at":"2014-07-17T02:35:48.000Z","updated_at":"2020-04-14T16:07:01.000Z","dependencies_parsed_at":"2022-09-16T15:30:56.167Z","dependency_job_id":null,"html_url":"https://github.com/phrb/3d-spanning-tree","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/phrb%2F3d-spanning-tree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phrb%2F3d-spanning-tree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phrb%2F3d-spanning-tree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phrb%2F3d-spanning-tree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phrb","download_url":"https://codeload.github.com/phrb/3d-spanning-tree/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246049628,"owners_count":20715510,"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-19T02:10:03.199Z","updated_at":"2025-03-28T14:42:11.695Z","avatar_url":"https://github.com/phrb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Spanning Trees in a Cube\n------\n\nThis python script generates a tree that tries to reach\nevery node of a cube exactly once, i.e., makes a 3d maze.\n\nThe tree obey certain rules, or \"walking modes\", defined\nby functions in the script:\n\nRandom Walk: Chooses a new direction for each point,\nwith no other heuristic than the random number generator.\n\nWeighted Walk: Has a propension to favor a point's previous\ndirection in new extensions.\n\nDepth Walk: Extends in a single direction until it finds\nan occupied cell or the end of the cube.\n\nShell Walk: Extends until it can, then change direction and \ncontinue extending, making same-colored paths that span the\n\"shell\" of the cube.\n\nUsage:\n\n    $ python span_tree.py [\u003crandom|weighted|depth|shell\u003e \u003ccube_size\u003e]\n\n![walks](https://github.com/phrb/3d-spanning-tree/raw/master/Walks.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphrb%2F3d-spanning-tree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphrb%2F3d-spanning-tree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphrb%2F3d-spanning-tree/lists"}