{"id":20942511,"url":"https://github.com/bdilday/baseballd","last_synced_at":"2026-03-14T18:20:46.726Z","repository":{"id":78136110,"uuid":"130381070","full_name":"bdilday/baseballd","owner":"bdilday","description":null,"archived":false,"fork":false,"pushed_at":"2019-01-21T22:27:28.000Z","size":2058,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-13T03:44:06.194Z","etag":null,"topics":["dlang"],"latest_commit_sha":null,"homepage":null,"language":"D","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/bdilday.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-20T15:32:01.000Z","updated_at":"2019-01-21T22:13:24.000Z","dependencies_parsed_at":"2023-02-26T11:30:18.691Z","dependency_job_id":null,"html_url":"https://github.com/bdilday/baseballd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bdilday/baseballd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdilday%2Fbaseballd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdilday%2Fbaseballd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdilday%2Fbaseballd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdilday%2Fbaseballd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bdilday","download_url":"https://codeload.github.com/bdilday/baseballd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdilday%2Fbaseballd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28006081,"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","status":"online","status_checked_at":"2025-12-24T02:00:07.193Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["dlang"],"created_at":"2024-11-18T23:27:53.541Z","updated_at":"2025-12-24T18:16:11.799Z","avatar_url":"https://github.com/bdilday.png","language":"D","funding_links":[],"categories":[],"sub_categories":[],"readme":"# baseballd\n\nA collection of routines to analyze baseball data using `D`. \n\n## trajectories\n\nThe code `traj.d` computes the trajectory of a batted ball using a 4th-order runge-kutta routine.\n\nexample use:\n\ncompile with dmd\n```\ncd D/\ndmd traj.d\n\n```\n\ncompile with lldc\n\n```\ncd D/\nldc2 traj.d\n```\n\nrun the compiled exe\n\n```\n./traj --help\n\nThe function takes 2 command line parameters \nlaunch velocity magnitude in miles per hour \nlaunch angle in degrees \n\nexample: traj --la 27 --lv 101\noptional arguments are --N (the maximum number of runge-kutta steps\n and --dt (the time step))This computes the trajectory until the z-coordinate passes 0, and prints to stdout the time, position, and velocity\n```\n\nexample \n\n```\n./traj --la 20 --lv 90 --dt 0.01\n\ntime,x,y,z,vx,vy,vz\n0.010,0.001,3.237,3.449,0.072,123.662,44.916 \n0.020,0.002,4.469,3.896,0.143,123.259,44.675 \n0.030,0.004,5.698,4.340,0.214,122.858,44.434 \n0.040,0.007,6.922,4.782,0.285,122.460,44.193 \n.\n.\n.\n3.940,26.095,327.504,1.277,9.320,62.099,-42.357 \n3.950,26.188,328.124,0.852,9.323,62.051,-42.541 \n3.960,26.282,328.744,0.425,9.326,62.002,-42.725 \n3.970,26.375,329.364,-0.005,9.329,61.954,-42.909 \n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdilday%2Fbaseballd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbdilday%2Fbaseballd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdilday%2Fbaseballd/lists"}