{"id":19028162,"url":"https://github.com/jmssnr/shuffling-probability","last_synced_at":"2026-05-18T05:35:42.104Z","repository":{"id":209729736,"uuid":"724276984","full_name":"jmssnr/shuffling-probability","owner":"jmssnr","description":"Visualizing shuffling probabilities with visx","archived":false,"fork":false,"pushed_at":"2023-12-06T20:13:32.000Z","size":198,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-02T03:19:11.804Z","etag":null,"topics":["mantine","nextjs","visx"],"latest_commit_sha":null,"homepage":"https://shuffling-probability.vercel.app","language":"TypeScript","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/jmssnr.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":"2023-11-27T18:53:57.000Z","updated_at":"2023-11-28T20:12:54.000Z","dependencies_parsed_at":"2023-12-06T21:27:14.813Z","dependency_job_id":"41639eaf-8db1-4956-8f8f-150f35c903e7","html_url":"https://github.com/jmssnr/shuffling-probability","commit_stats":null,"previous_names":["jmssnr/shuffling-probability"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmssnr%2Fshuffling-probability","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmssnr%2Fshuffling-probability/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmssnr%2Fshuffling-probability/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmssnr%2Fshuffling-probability/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmssnr","download_url":"https://codeload.github.com/jmssnr/shuffling-probability/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240079610,"owners_count":19744720,"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":["mantine","nextjs","visx"],"created_at":"2024-11-08T21:10:06.821Z","updated_at":"2026-05-01T22:30:17.818Z","avatar_url":"https://github.com/jmssnr.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shuffle Probabilities\n\nConsider a deck of 52 playing cards. After giving the deck a shuffle, where would you most likely find the original top card? \n\nI created this small web-application based on [Next.js](https://nextjs.org/) and [visx](https://airbnb.io/visx) to give you the answer for several different types of shuffles.\n\n![demo](public/demo.png)\n\n## Development\n\nTo run the simulation models yourself, create a python environment and install the only dependency numpy:\n\n```\npython -m venv .venv \npip install numpy\n```\n\nCalling `model.py` will then run the simulations and store the results in the `data.json` where it is picked up by the Next.js application.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmssnr%2Fshuffling-probability","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmssnr%2Fshuffling-probability","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmssnr%2Fshuffling-probability/lists"}