{"id":21539066,"url":"https://github.com/big-silver/cesium-gradient","last_synced_at":"2025-04-10T03:25:31.215Z","repository":{"id":44051186,"uuid":"196432255","full_name":"Big-Silver/Cesium-Gradient","owner":"Big-Silver","description":"An elevation visualizer for Cesium","archived":false,"fork":false,"pushed_at":"2022-12-08T23:55:11.000Z","size":1002,"stargazers_count":12,"open_issues_count":16,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-24T04:43:35.901Z","etag":null,"topics":["cesium","cesium-gradient","javascript","shader-loader","webpack"],"latest_commit_sha":null,"homepage":"","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/Big-Silver.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-11T16:45:15.000Z","updated_at":"2022-11-11T02:44:15.000Z","dependencies_parsed_at":"2023-01-25T18:30:19.189Z","dependency_job_id":null,"html_url":"https://github.com/Big-Silver/Cesium-Gradient","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/Big-Silver%2FCesium-Gradient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Big-Silver%2FCesium-Gradient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Big-Silver%2FCesium-Gradient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Big-Silver%2FCesium-Gradient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Big-Silver","download_url":"https://codeload.github.com/Big-Silver/Cesium-Gradient/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248149874,"owners_count":21055830,"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":["cesium","cesium-gradient","javascript","shader-loader","webpack"],"created_at":"2024-11-24T04:14:00.909Z","updated_at":"2025-04-10T03:25:31.195Z","avatar_url":"https://github.com/Big-Silver.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"cesium-gradient\n=========================\n\n\nAn elevation visualiser for [Cesium](https://cesiumjs.org/) acting as an imagery provider.  Elevation samples from a terrain provider are passed to a 2D WebGL renderer.  The renderer then applies a combination of the following algorithms:\n\n* Colour ramp\n* Hillshade\n* Contour lines\n\n\nRun the test app with a local server\n------------------------------------\n```\nnpm install\nnpm start\n```\nThen browse to [http://localhost:8080](http://localhost:8080)\n\nUsing in your app\n-----------------\nThis code uses GLSL shaders.  It is currently set up to load them using [shader-loader for webpack](https://github.com/makio64/shader-loader).  If you happen to be using webpack on your project then you should be able to...\n\n*  install shader-loader:\n```\nnpm install shader-loader --save-dev\n```\n* set it up in your webpack.config.js:\n```\nmodule: {\n    loaders: [{\n        test: /\\.(glsl|vs|fs)$/,\n        loaders: ['shader']\n    }]\n}\n```\n* import (or require()) into your app\n```\nimport ElevationGradientImageryProvider from '/lib/ElevationGradientImageryProvider'\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbig-silver%2Fcesium-gradient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbig-silver%2Fcesium-gradient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbig-silver%2Fcesium-gradient/lists"}