{"id":23189086,"url":"https://github.com/tomcat-42/sphere_3d_engine","last_synced_at":"2025-10-15T18:03:06.615Z","repository":{"id":45140806,"uuid":"479872923","full_name":"Tomcat-42/sphere_3d_engine","owner":"Tomcat-42","description":"A 3d Sphere Engine","archived":false,"fork":false,"pushed_at":"2022-07-24T23:14:14.000Z","size":1653,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T11:41:01.086Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/Tomcat-42.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-10T00:10:43.000Z","updated_at":"2022-07-24T22:36:29.000Z","dependencies_parsed_at":"2022-07-13T17:30:59.713Z","dependency_job_id":null,"html_url":"https://github.com/Tomcat-42/sphere_3d_engine","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/Tomcat-42%2Fsphere_3d_engine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tomcat-42%2Fsphere_3d_engine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tomcat-42%2Fsphere_3d_engine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tomcat-42%2Fsphere_3d_engine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tomcat-42","download_url":"https://codeload.github.com/Tomcat-42/sphere_3d_engine/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247294547,"owners_count":20915340,"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-12-18T11:17:13.497Z","updated_at":"2025-10-15T18:03:01.581Z","avatar_url":"https://github.com/Tomcat-42.png","language":"TypeScript","readme":"# SPHERE GENERATOR\n\u003e by Felipi Lima Matozinho \u0026 Pablo Hugen do Santos\n\nApp created for final work to the Computer Graphics discipline.\nThe app has the objective of implementing a generator of spheres, using its camera, lighting, and coordinates system.\n\nSpheres are generated for a set of meridians and parallels, as shown in the image\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"./images/sphere.png\"/\u003e\n  \u003cimg src=\"./images/parallels.png\"/\u003e\n\u003c/div\u003e\n\n## Building\nTo build this application is needed the current LTS [NodeJs](https://nodejs.org/en/) Version (16.16 at the moment of the deployment) and a node package manager (npm or yarn).\n\nAfter install the NodeJs, run the following commands:\n\n### Using npm\n```bash\n  npm install #install all dependencies\n```\n```bash\n  npm run build #Will build the application\n```\n```bash\n  npm run serve #Will serve the app in a local port in your machine\n```\n\n### Using yarn\n```bash\n  yarn # install all dependencies\n```\n```bash\n  yarn build # Will build the application\n```\n```bash\n  yarn serve # Will serve the app in a local port in your machine\n```\n\n## Development Mode and Deployed Version\nIf you don't want to build the app, you can access it in [this link](https://sphere-3d-engine.vercel.app/).\n\nIf you want to play with the app, you can run it locally in development mode, run the following commands:\n\n### Using npm\n```bash\n  npm install #install all dependencies\n```\n```bash\n  npm run start #run app\n```\n\n### Using yarn\n```bash\n  yarn # install all dependencies\n```\n```bash\n  yarn start # run app\n```\n\n## Usage\nIs possible to configure all parameters of the camera, light, and spheres. \nEach of these configurations is accessible in a bar on the right sidebar.\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"./images/config-bar.png\"/\u003e\n\u003c/div\u003e\n\n\n### Creating a new Sphere\nIn the bottom right side of the screen are two buttons, one to clean the scene and another to add a new Sphere. \nThere are a fell default values if you don't know which to define.\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"./images/buttons.png\"/\u003e\n\u003c/div\u003e\n\n### Sphere actions\nIn the Sphere configurations section is possible to select a sphere in the scene (see by the sphere name).\nAfter select one, is possible to apply any **Geometric Transformation**.\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"./images/sphere-section.png\"/\u003e\n\u003c/div\u003e\n\n### Camera actions\nIn the camera is possible to change all its params, but the **VRP** can be changes using **keybord actions**:\n\n**W** - Increment **Y** coordinante \u003cbr/\u003e\n**S** - Decrement **Y** coordinante \u003cbr/\u003e\n**D** - Increment **X** coordinante \u003cbr/\u003e\n**A** - Decrement **X** coordinante \u003cbr/\u003e\n**E** - Increment **Z** coordinante \u003cbr/\u003e\n**Q** - Decrement **Z** coordinante \u003cbr/\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"./images/camera-section.png\"/\u003e\n\u003c/div\u003e\n\n### Light actions\nExists a **Global Light**, and a **point light**.\nExists a Global Light, and a point light. For Global Light, you can change its intensity and for the Point Light you can change its intensity and its position. In addition, it is possible to rotate the light around an axis. This rotation is done by 1 degree every frame.\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"./images/light-section.png\"/\u003e\n\u003c/div\u003e\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomcat-42%2Fsphere_3d_engine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomcat-42%2Fsphere_3d_engine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomcat-42%2Fsphere_3d_engine/lists"}