{"_id":"@cosmo-explorables/berlin_8_am","name":"@cosmo-explorables/berlin_8_am","dist-tags":{"latest":"1.1.1"},"versions":{"1.1.1":{"name":"@cosmo-explorables/berlin_8_am","title":"Berlin morgens um 8:00","subtitle":"Die Enstehung von Phantomstaus","version":"1.1.1","license":"CC-BY-4.0","description":"Dieses explorable zeigt ein einfaches Verkehrsmodell, das in der Lage ist die spontane Entstehung von sogenannt Phantomstaus zu beschreiben, die sich entgegen der Verkehrsrichtung ausbreiten, wenn die Zielgeschwindigkeiten einzelener Verkehrsteilnehmer gr","repository":{"type":"git","url":"git+https://github.com/dirkbrockmann/berlin_8_am.git#cosmo"},"author":{"name":"Dirk Brockmann","url":"https://rocs.hu-berlin.de"},"main":"./dist/index.js","module":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"webpack --mode production ","dev":"webpack serve --static dist/ --mode development","show":"http-server dist -o","pap":"git add . ; git commit -m \"$npm_package_version\"; git push; npm version patch; npm publish  "},"keywords":["complexity","explorables","visualization"],"dependencies":{"d3":"^7.8.5","d3-widgets":"^1.2.4","lodash-es":"^4.17.21","tachyons":"^4.12.0"},"devDependencies":{"css-loader":"^6.8.1","html-webpack-plugin":"^5.6.0","http-server":"^14.1.1","style-loader":"^3.3.3","webpack":"^5.89.0","webpack-bundle-analyzer":"^4.10.1","webpack-cli":"^5.1.4","webpack-dev-server":"^4.15.1"},"gitHead":"0f09903bbc172144386ccb0c90f4f351fee5bfd0","bugs":{"url":"https://github.com/dirkbrockmann/berlin_8_am/issues"},"homepage":"https://github.com/dirkbrockmann/berlin_8_am/tree/cosmo#readme","_id":"@cosmo-explorables/berlin_8_am@1.1.1","_nodeVersion":"18.15.0","_npmVersion":"9.6.2","dist":{"integrity":"sha512-7iRKcRHoRcKKVNrGkuK1yrkRrcvyHdSVGMP/KSRjEylLK/kzchwBRTc6yBkXPnHIddgG8+7ADj8VHD3UY4LGGg==","shasum":"edc531c620b7fe8f7272a8565028e8ec090600d9","tarball":"https://registry.npmjs.org/@cosmo-explorables/berlin_8_am/-/berlin_8_am-1.1.1.tgz","fileCount":24,"unpackedSize":461700,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC+myatLAETaHBcMdZCwEbRm8/K6Ptp10/cSOWf6l8vJAiAcu3nvxwRollZ//LGw0p0GlPBTQXSdHJKqcV2aKN2nPQ=="}]},"_npmUser":{"name":"dirkbrockmann","email":"dirk.brockmann@tu-dresden.de"},"directories":{},"maintainers":[{"name":"dirkbrockmann","email":"dirk.brockmann@tu-dresden.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/berlin_8_am_1.1.1_1713339857142_0.4635963585260683"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-17T07:44:16.986Z","1.1.1":"2024-04-17T07:44:17.365Z","modified":"2024-04-17T07:44:17.674Z"},"maintainers":[{"name":"dirkbrockmann","email":"dirk.brockmann@tu-dresden.de"}],"description":"Dieses explorable zeigt ein einfaches Verkehrsmodell, das in der Lage ist die spontane Entstehung von sogenannt Phantomstaus zu beschreiben, die sich entgegen der Verkehrsrichtung ausbreiten, wenn die Zielgeschwindigkeiten einzelener Verkehrsteilnehmer gr","homepage":"https://github.com/dirkbrockmann/berlin_8_am/tree/cosmo#readme","keywords":["complexity","explorables","visualization"],"repository":{"type":"git","url":"git+https://github.com/dirkbrockmann/berlin_8_am.git#cosmo"},"author":{"name":"Dirk Brockmann","url":"https://rocs.hu-berlin.de"},"bugs":{"url":"https://github.com/dirkbrockmann/berlin_8_am/issues"},"license":"CC-BY-4.0","readme":"[cc-by]: http://creativecommons.org/licenses/by/4.0/\n[cc-by-image]: https://i.creativecommons.org/l/by/4.0/88x31.png\n[cc-by-shield]: https://img.shields.io/badge/License-CC%20BY%204.0-lightgrey.svg\n\n# Berlin 8:00 a.m.\n\n[![CC BY 4.0][cc-by-shield]][cc-by]\n\nThis explorable illustrates a model for traffic and congestion and the phenomenon knowns as phantom traffic jams, spontaneously emergent congested traffic segments that move slowly and oppositely to the traffic.\n\n\nThe explorable is part of the [**Complexity Exporables Collection**](https://www.complexity-explorables.org). For more information about the system and its behavior consult the explorable\n> [**“Berlin 8:00 a.m.” - How speed variation may trigger persistent traffic congestion**](https://www.complexity-explorables.org/explorables/berlin-8-am//)\n\n## Installation & Use\n\nOut of the box you can use the explorable in a basic `index.html` file like this\n\n```html\n<!doctype html>\n<html>\n\t<head>\n\t\t<meta charset=\"utf-8\">\n\t\t<meta name=\"viewport\" content=\"width=device-width,initial-scale=1\">\n\t\t<script src=\"https://cdn.jsdelivr.net/npm/@explorables/berlin_8_am\"></script>\n\t</head>\n\t<body class=\"avenir pa3 pa5-ns tj\">\n\t    <div id=\"explorable_container\"></div>\n\t</body>\n\t<script type=\"text/javascript\">\n\t\tberlin_8_am.load(\"explorable_container\")\n\t</script>\n</html>\n```\nThe header `<script>` tag loads the bundle, the `<div>` in the document is the container in which the explorable gets anchored when the function `berlin_8_am.load()` gets executed at the bottom. The `load` function needs the `<div>` container `id` as an argument.\n\n## Installing the whole package locally\n\nClone repository:\n\n```shell\ngit clone https://github.com/dirkbrockmann/berlin_8_am.git\n```\n\n\nGo to the directory, install, build and show using `npm`:\n\n1. `cd berlin_8_am`\n2. `npm install`\n3. `npm run build`\n4. `npm run show`\n\n## License\n\nThis work is licensed under a\n[Creative Commons Attribution 4.0 International License][cc-by].\n\n[![CC BY 4.0][cc-by-image]][cc-by]\n\n\n","readmeFilename":"README.md"}