{"id":13510317,"url":"https://github.com/jonathanlinat/es6-experiments-series-buffons-needle","last_synced_at":"2025-04-11T06:14:21.755Z","repository":{"id":38997224,"uuid":"145042209","full_name":"jonathanlinat/es6-experiments-series-buffons-needle","owner":"jonathanlinat","description":"An ES6 attempt to implement the famous Buffon's needle experiment.","archived":false,"fork":false,"pushed_at":"2023-02-08T21:09:02.000Z","size":1086,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T06:14:15.270Z","etag":null,"topics":["approximation","buffon","es6","experiments","javascript","needle","pi"],"latest_commit_sha":null,"homepage":"https://es6-experiments-series-buffons-needle.netlify.app/","language":"JavaScript","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/jonathanlinat.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2018-08-16T21:46:49.000Z","updated_at":"2023-09-08T17:43:58.000Z","dependencies_parsed_at":"2024-01-13T19:26:15.603Z","dependency_job_id":"1881a9af-0dd2-4b62-b325-f523986bc754","html_url":"https://github.com/jonathanlinat/es6-experiments-series-buffons-needle","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanlinat%2Fes6-experiments-series-buffons-needle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanlinat%2Fes6-experiments-series-buffons-needle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanlinat%2Fes6-experiments-series-buffons-needle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanlinat%2Fes6-experiments-series-buffons-needle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonathanlinat","download_url":"https://codeload.github.com/jonathanlinat/es6-experiments-series-buffons-needle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248351393,"owners_count":21089270,"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":["approximation","buffon","es6","experiments","javascript","needle","pi"],"created_at":"2024-08-01T02:01:33.423Z","updated_at":"2025-04-11T06:14:21.720Z","avatar_url":"https://github.com/jonathanlinat.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","javascript"],"sub_categories":[],"readme":"# ES6 Experiments Series: Buffon's needle\n\n![Buffon's needle](https://image.ibb.co/eJ02Qz/buffons_needle_github.png)\n\n[![Netlify Status](https://api.netlify.com/api/v1/badges/f2ff2cae-871a-44a5-bd49-1fc3070acb74/deploy-status)](https://app.netlify.com/sites/es6-experiments-series-buffons-needle/deploys)\n\nSuppose we have a floor made of parallel strips of wood, each the same width, and we drop a needle onto the floor. What is the probability that the needle will lie across a line between two strips? [Wikipedia](https://en.wikipedia.org/wiki/Buffon%27s_needle)\n\nProject architecture mainly based on [Yet Another And Really Basic Webpack ES6 Starterkit](https://github.com/jonathanlinat/yet-another-and-really-basic-webpack-es6-starterkit).\n\n## Installation\n\nClone this repository locally...\n\n```\n$ git clone https://github.com/jonathanlinat/es6-experiments-series-buffons-needle.git\n$ cd es6-experiments-series-buffons-needle/\n```\n\n...and install the required NPM packages.\n\n```\n$ npm install\n```\n\n### Start a Development server\n\nStart a local Web Server.\n\n```\n$ npm run dev\n```\n\n### Build a Production version\n\nCreate a Production version of the project.\n\n```\n$ npm run build\n```\n\nThe _compiled_ version of the project will be available into the `dist` folder.\n\n###\n\nIt is also possible to lint code.\n\n```\n$ npm run lint\n```\n\n## Usage\n\nWhen a local Web Server is created and a new tab in your browser is opened, discover what's the Magical Number.\n\nPress the `F5` key in order to regenerate the needles and vertical lines.\n\n## Features\n\n* Webpack 4\n* ES6 Support via [babel-loader](https://github.com/babel/babel-loader)\n* SASS Support via [sass-loader](https://github.com/jtangelder/sass-loader)\n* Linting via [eslint-loader](https://github.com/MoOx/eslint-loader)\n* JavaScript Standard Style via [eslint-config-standard](https://github.com/standard/eslint-config-standard)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanlinat%2Fes6-experiments-series-buffons-needle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathanlinat%2Fes6-experiments-series-buffons-needle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanlinat%2Fes6-experiments-series-buffons-needle/lists"}