{"id":26956338,"url":"https://github.com/gregman-js/neural-network-car-racing","last_synced_at":"2025-04-03T03:29:41.908Z","repository":{"id":166975923,"uuid":"249557252","full_name":"Gregman-js/Neural-Network-Car-Racing","owner":"Gregman-js","description":"A small 2D simulation in which cars learn to drive by themselves.","archived":false,"fork":false,"pushed_at":"2020-03-31T10:37:15.000Z","size":356,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T05:42:04.715Z","etag":null,"topics":["evolutionary-algorithms","game2d","javascript","machine-learn","neural-network","simulation"],"latest_commit_sha":null,"homepage":"https://gregman-js.github.io/Neural-Network-Car-Racing/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Gregman-js.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}},"created_at":"2020-03-23T22:22:54.000Z","updated_at":"2024-05-27T09:06:22.000Z","dependencies_parsed_at":"2023-09-24T16:56:41.337Z","dependency_job_id":null,"html_url":"https://github.com/Gregman-js/Neural-Network-Car-Racing","commit_stats":{"total_commits":15,"total_committers":2,"mean_commits":7.5,"dds":0.1333333333333333,"last_synced_commit":"c3e7f78bc405be43802e766face119dc68f98e1a"},"previous_names":["gregman-js/neural-network-car-racing"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gregman-js%2FNeural-Network-Car-Racing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gregman-js%2FNeural-Network-Car-Racing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gregman-js%2FNeural-Network-Car-Racing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gregman-js%2FNeural-Network-Car-Racing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gregman-js","download_url":"https://codeload.github.com/Gregman-js/Neural-Network-Car-Racing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246932734,"owners_count":20857045,"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":["evolutionary-algorithms","game2d","javascript","machine-learn","neural-network","simulation"],"created_at":"2025-04-03T03:29:41.092Z","updated_at":"2025-04-03T03:29:41.891Z","avatar_url":"https://github.com/Gregman-js.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Neural-Network-Car-Racing\nA small 2D simulation in which cars learn to drive by themselves using a neural network and genetics algorithms.  \nCreated by [Gregman-js](https://github.com/Gregman-js)\n\n## Demo\nJust visit and enjoy. [gregman-js.github.io/Neural-Network-Car-Racing/](https://gregman-js.github.io/Neural-Network-Car-Racing/)\n\n![preview](https://raw.githubusercontent.com/Gregman-js/Neural-Network-Car-Racing/master/preview.png)\n\n## No requirements and dependencies\nYou don't need to install libraries and others dependencies.\n\n## Important files\n`index.html` - default page with car simulation  \n`trackgen.html` - create your own terrain json file  \n`terrain.json` - JSON file with track vectors, if you want, replace with your track  \n`lib/` - folder with libraries  \n`source/` - the hearth of simulation  \n\n## Key features\nAccess following keys in simualtion:  \n`e` - stop simulation  \n`s` - 100x generation proccess  \n`g` - force new generation  \n`q` - save best car to localStorage  \n`r` - restore neural network from localStorage  \n`c` - turn on/off car collisions  \n`←↓→` - control your camera position with arraw keys  \n`+/-` - zoom in / out our camera\n\n## Used library\n* p5.js - [https://github.com/processing/p5.js](https://github.com/processing/p5.js)\n* Toy-Neural-Network-JS - [https://github.com/CodingTrain/Toy-Neural-Network-JS](https://github.com/CodingTrain/Toy-Neural-Network-JS)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregman-js%2Fneural-network-car-racing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregman-js%2Fneural-network-car-racing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregman-js%2Fneural-network-car-racing/lists"}