{"id":22740174,"url":"https://github.com/a-type/webgl-marchingcubes","last_synced_at":"2025-04-14T05:52:34.595Z","repository":{"id":15513517,"uuid":"18247774","full_name":"a-type/webgl-marchingcubes","owner":"a-type","description":"A WebGL implementation of the marching cubes algorithm for deformable terrain","archived":false,"fork":false,"pushed_at":"2024-07-31T19:55:17.000Z","size":992,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T19:50:23.510Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/a-type.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}},"created_at":"2014-03-29T18:31:00.000Z","updated_at":"2024-07-31T19:55:21.000Z","dependencies_parsed_at":"2022-09-05T20:50:47.849Z","dependency_job_id":null,"html_url":"https://github.com/a-type/webgl-marchingcubes","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/a-type%2Fwebgl-marchingcubes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-type%2Fwebgl-marchingcubes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-type%2Fwebgl-marchingcubes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-type%2Fwebgl-marchingcubes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a-type","download_url":"https://codeload.github.com/a-type/webgl-marchingcubes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248830389,"owners_count":21168272,"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-10T23:07:48.862Z","updated_at":"2025-04-14T05:52:34.568Z","avatar_url":"https://github.com/a-type.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"webgl-marchingcubes\n===================\n\nA WebGL implementation of the marching cubes algorithm for deformable terrain\n\n##Running the App Right Now\n\nIf you just want to take a look, you can do that here: http://gforrest-static.s3-website-us-east-1.amazonaws.com/marchingcubes/index.html\n\n##Running the App Locally\n\n###Prerequisites\n\nIf you don't already have a static file serving solution, you'll need [Node.js](http://nodejs.org/). You won't need to install any other packages, though.\n\nFirst, host the files. You can do this using Node.js and `fileserver.js`, located in the root directory.\n\n    \u003e node fileserver.js\n    \nThis will host the directory on `http://localhost:8888/index.html`. Navigate there to view the scene.\n\n##Controls\n\nUse WASD to move the camera. Use the left mouse button and mouse pan to change the camera angle. Use Q to build a block and E to destroy one.\n\n##Alternate Terrain\n\nTo generate the scene with flat terrain instead of Perlin noise, add a hash to the URL: `http://localhost:8888/index.html#flat`.\n\nTo generate smoothed terrain, try `#smooth` instead. Personally, I prefer the blocky style, but it's still pretty cool!\n\n##Screenshots\n\n![img](screen.png)\nThe perlin noise generated terrain version\n\n![img](screen2.png)\nA simple demonstration of shadows and deformable terrain in the flat generation version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-type%2Fwebgl-marchingcubes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa-type%2Fwebgl-marchingcubes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-type%2Fwebgl-marchingcubes/lists"}