{"id":29795903,"url":"https://github.com/nicholasala/myglobe","last_synced_at":"2026-05-17T01:34:40.398Z","repository":{"id":295670875,"uuid":"990747680","full_name":"nicholasala/MyGlobe","owner":"nicholasala","description":"3D planet as a presentation of images placed on geographical coordinates","archived":false,"fork":false,"pushed_at":"2025-06-30T22:47:50.000Z","size":21141,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-30T23:31:34.090Z","etag":null,"topics":["three-js","threejs-example","vanilla-javascript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nicholasala.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2025-05-26T15:13:34.000Z","updated_at":"2025-06-30T22:47:53.000Z","dependencies_parsed_at":"2025-06-19T16:28:55.539Z","dependency_job_id":"01aa2dc0-4190-4f6b-8dc1-9410b6f11326","html_url":"https://github.com/nicholasala/MyGlobe","commit_stats":null,"previous_names":["nicholasala/myglobe"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nicholasala/MyGlobe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicholasala%2FMyGlobe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicholasala%2FMyGlobe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicholasala%2FMyGlobe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicholasala%2FMyGlobe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicholasala","download_url":"https://codeload.github.com/nicholasala/MyGlobe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicholasala%2FMyGlobe/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267464522,"owners_count":24091505,"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-07-28T02:00:09.689Z","response_time":68,"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":["three-js","threejs-example","vanilla-javascript"],"created_at":"2025-07-28T05:01:12.785Z","updated_at":"2026-05-17T01:34:40.320Z","avatar_url":"https://github.com/nicholasala.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MyGlobe\nMyGlobe is a JavaScript library which allows users to create a customized interactive 3D planet as a presentation of images. The 3D planet created can display images positioned on geographical coordinates.\n\n## Features\nSo far, the software features achieved are:\n\n  * Images markers: place miniature images on the 3D planet according to their geographical coordinates.\n  * Interactive planet: manually rotate and zoom the planet in order to change the point of view and explore it freely.\n  * Stars around the planet: place a custom number of stars around the planet, with different distances from the planet. \n  * Custom click callback: implement a custom callback function to handle click events on the images.\n\n## Configuration\nThe planet can be easily configured using a json file and the class [PlanetKeeperBuilder](https://github.com/nicholasala/MyGlobe/blob/main/src/PlanetKeeperBuilder.js) in this way:\n\n```\nfetch('/my-globe-config.json')\n  .then(res =\u003e res.json())\n  .then(config =\u003e {\n    const builder = new PlanetKeeperBuilder(config, getImageClickCallback);\n\n    builder.build().then(planetKeeper =\u003e {\n      planetKeeper.enableControls();\n      planetKeeper.enableAutoRotation();\n      planetKeeper.enableClickOnImages();\n      planetKeeper.addStars(300, 50);\n      planetKeeper.start();\n    });\n});\n```\n\nHere [my-globe-config.json](https://github.com/nicholasala/MyGlobe/blob/main/my-globe-config.json) the structure of the json used.\n\n## Development\nThe project dependencies are managed using npm. [Http-server](https://www.npmjs.com/package/http-server) is needed as a global npm dependency. The commands for the development are:\n\n * `npm install` install project dependencies\n * `npm run build` build the library in the dist folder\n * `npm run build-[name-of-example]` build the selected example in the dist folder\n * `npm run dev` start the development server on localhost:8080\n\n## Human written code\nThe source code of the library is written without using auto-generated code\n\n## Example\nA basic example can be found in the [examples/basic](https://github.com/nicholasala/MyGlobe/tree/main/examples/basic) folder. Here a screenshot from this example:\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/nicholasala/MyGlobe/blob/main/examples/basic/screenshot.png\" width=\"70%\"\u003e\n\u003c/p\u003e\n\n## Use case\nAs a use case MyGlobe is used to create a representation of the paintings created by [Viento Mosse](https://www.vientomosse.art) in her World Painting Project. The click on the images, in this case, shows a popup with the information of the painting. Here some screenshots from the first release of this use case:\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/nicholasala/MyGlobe/blob/main/use-case-img/use-case-example.png\" width=\"70%\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/nicholasala/MyGlobe/blob/main/use-case-img/use-case-zoom.png\" width=\"70%\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/nicholasala/MyGlobe/blob/main/use-case-img/use-case-customized-popup.png\"\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicholasala%2Fmyglobe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicholasala%2Fmyglobe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicholasala%2Fmyglobe/lists"}