{"id":16525620,"url":"https://github.com/camdavidsonpilon/subwayjs","last_synced_at":"2025-10-19T06:04:09.498Z","repository":{"id":3909120,"uuid":"4997871","full_name":"CamDavidsonPilon/Subwayjs","owner":"CamDavidsonPilon","description":"make an interactive subway map in javascript.","archived":false,"fork":false,"pushed_at":"2012-12-14T04:58:21.000Z","size":125,"stargazers_count":33,"open_issues_count":0,"forks_count":4,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-05-02T06:13:54.608Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.camdp.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CamDavidsonPilon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-07-12T02:07:32.000Z","updated_at":"2023-09-08T16:34:18.000Z","dependencies_parsed_at":"2022-08-26T09:31:18.131Z","dependency_job_id":null,"html_url":"https://github.com/CamDavidsonPilon/Subwayjs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CamDavidsonPilon%2FSubwayjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CamDavidsonPilon%2FSubwayjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CamDavidsonPilon%2FSubwayjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CamDavidsonPilon%2FSubwayjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CamDavidsonPilon","download_url":"https://codeload.github.com/CamDavidsonPilon/Subwayjs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219859900,"owners_count":16556031,"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":[],"created_at":"2024-10-11T17:04:20.017Z","updated_at":"2025-10-19T06:04:04.461Z","avatar_url":"https://github.com/CamDavidsonPilon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Subwayjs is a javascript module for creating an interactive subway system for you website. See www.camdp.com/UWSubway and www.camdp.com/ttc for examples.\r\nThe module relies on Paper.js (http://paperjs.org/download/). \r\n\r\nTo run, you'll need something that looks like this in your header:\r\n\r\n        \u003cmeta .... \u003e\r\n        \u003cscript type=\"text/javascript\" src=\"/scripts/paperjs/lib/paper.js\"\u003e\u003c/script\u003e\r\n        \u003cscript type=\"text/paperscript\" src=\"/scripts/subway.js\" canvas=\"subway\"\u003e\u003c/script\u003e\r\n        \u003cstyle ...\u003e\r\n        \r\nNote that there must be only one script that will contain the main subways.js library and the initialization of the stations (see initialization_example.js for an example of initalization). The seperation above was purely for aesthetics. The reason for this is that paper.js works only a very local scope, and not across js scripts. \r\n\r\nSee ttc.js for a full, working example. \r\n\r\nPlease email me at cam.davidson.pilon@gmail.com if you have any comments, questions or suggestions.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcamdavidsonpilon%2Fsubwayjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcamdavidsonpilon%2Fsubwayjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcamdavidsonpilon%2Fsubwayjs/lists"}