{"id":21212483,"url":"https://github.com/niaggar/go-board","last_synced_at":"2026-01-04T13:31:25.296Z","repository":{"id":202376715,"uuid":"706921125","full_name":"niaggar/go-board","owner":"niaggar","description":"Simulation of galton board","archived":false,"fork":false,"pushed_at":"2024-09-16T13:12:12.000Z","size":6166,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-09-17T15:38:21.303Z","etag":null,"topics":["galton-board","go","physics","simulation"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/niaggar.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,"roadmap":null,"authors":null}},"created_at":"2023-10-18T21:36:36.000Z","updated_at":"2024-09-16T13:12:10.000Z","dependencies_parsed_at":"2023-11-22T22:30:18.986Z","dependency_job_id":"af12de06-6d3f-4e12-9fce-065ed0c76e0c","html_url":"https://github.com/niaggar/go-board","commit_stats":{"total_commits":20,"total_committers":3,"mean_commits":6.666666666666667,"dds":0.09999999999999998,"last_synced_commit":"64a947389a0e2e861511ce6da0ac8bbbf9df2203"},"previous_names":["niaggar/go-board"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niaggar%2Fgo-board","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niaggar%2Fgo-board/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niaggar%2Fgo-board/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niaggar%2Fgo-board/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niaggar","download_url":"https://codeload.github.com/niaggar/go-board/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225629708,"owners_count":17499295,"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":["galton-board","go","physics","simulation"],"created_at":"2024-11-20T21:10:35.279Z","updated_at":"2026-01-04T13:31:25.262Z","avatar_url":"https://github.com/niaggar.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Galton Board Simulation in Go\n\u003e  Implementation for solving an IPT 2023 problem\n\n![Galton Board](./img/galton-board.png)\n\nThis is a Go application that simulates a Galton Board, also known as a \"bean machine\" or \"quincunx.\" The Galton Board is a device that demonstrates the central limit theorem and the normal distribution of particles as they bounce off pins and fall into bins.\n\n\u003e # IPT Problem\n\u003e \n\u003e Dropping a set of beads on a board with evenly distributed pegs results in a binomial distribution. Is it possible to generate other kinds of distributions by varying some parameters (pegs size, pegs distribution, bead format, etc.)? Is it possible to achieve a distribution that does not obey the central limit theorem in an i.i.d. scenario? What happens to the distribution when one makes the board vibrate?\n\u003e \n\n## Usage\n\n1. Make sure you have Go installed on your system.\n\n2. Clone this repository:\n\n   ```bash\n   git clone https://github.com/niaggar/go-board\n\n3. Create a folder named \"data/configs\" where you will save the configurations for the experiments you will run.\n\n4. Create your first configuration using the \"model.config.json\" file as a base, and modify fields such as the number of particles (performance could be affected).\n\n5. Execute.\n   ```bash\n   go run main.go\n\nAnother way is to run the console files corresponding to the system you need to compile the application, and then open the executable.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniaggar%2Fgo-board","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniaggar%2Fgo-board","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniaggar%2Fgo-board/lists"}