{"id":20261309,"url":"https://github.com/actnwit/shaderity-graph","last_synced_at":"2026-06-11T07:31:19.968Z","repository":{"id":37074120,"uuid":"389478148","full_name":"actnwit/shaderity-graph","owner":"actnwit","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-05T16:45:08.000Z","size":1751,"stargazers_count":0,"open_issues_count":14,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-29T14:19:13.131Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/actnwit.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}},"created_at":"2021-07-26T01:40:02.000Z","updated_at":"2022-01-05T10:41:23.000Z","dependencies_parsed_at":"2024-11-14T11:29:20.457Z","dependency_job_id":"fe28d01a-5473-4353-98ff-d5e8258add64","html_url":"https://github.com/actnwit/shaderity-graph","commit_stats":{"total_commits":356,"total_committers":3,"mean_commits":"118.66666666666667","dds":"0.022471910112359605","last_synced_commit":"936a4e6743241669d2b990e2620b2c324f3026aa"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/actnwit/shaderity-graph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actnwit%2Fshaderity-graph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actnwit%2Fshaderity-graph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actnwit%2Fshaderity-graph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actnwit%2Fshaderity-graph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/actnwit","download_url":"https://codeload.github.com/actnwit/shaderity-graph/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actnwit%2Fshaderity-graph/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34188272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"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":[],"created_at":"2024-11-14T11:25:12.459Z","updated_at":"2026-06-11T07:31:19.932Z","avatar_url":"https://github.com/actnwit.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shaderity-Graph\n\nThe Shaderity-Graph is a tool to resolves a node graph.\n\n## package hierarchy\n\n- shaderity-graph: This. a runtime for node graph processing.\n    - [shaderity](https://github.com/actnwit/shaderity/): for runtime features\n        - [shaderity-loader](https://github.com/actnwit/shaderity-loader): for static features\n            - [shaderity-node](https://github.com/actnwit/shaderity-node): The internal component for shaderity-loader.\n\n## Features\n\nCurrently, we only support node graph resolving for GLSL shaders.\n\n### Shader creation\n\nBy providing a node graph of the shader in the specified JSON format, you can create a shader for GLSL ES 3.0.\n\nNote:\n\n1. In combination with the Shaderity, the output shader can be transformed for GLSL ES 1.0.\n\n2. Currently, dynamically changing node graphs are not supported. You cannot break the connection between nodes.\n\n## Build\n\n### Setup Project\n\n```bash\n$ yarn install\n```\n\n### Build project\n\n```bash\n$ yarn build\n```\nThe built files will be created under the dist folder.\n\n## How to use\n\nYou can convert the specified json format into vertex and fragment shader codes using the ShaderityGraphConverter.createShaderCodesFromJsonFile method or ShaderityGraphConverter.createShaderCodesFromJsonObject method.\n\n```typescript\n\nimport _ShaderityGraph from '../../dist/esm/index';\n\ndeclare const ShaderityGraph: typeof _ShaderityGraph;\n\n(async () =\u003e {\n  const shaderCodes = await ShaderityGraph.ShaderityGraphConverter.createShaderCodesFromJsonFile('./shaderNodeGraph.json');\n  console.log(shaderCodes.vertexShader);\n  console.log(shaderCodes.fragmentShader);\n})();\n\n\n```\n\n## Documents\n\nYou can create a document under the doc folder with the following command:\n\n``` bash\nyarn doc\n```\n\n## Tests\n\nYou can run tests with the following command:\n\n``` bash\nyarn test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factnwit%2Fshaderity-graph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factnwit%2Fshaderity-graph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factnwit%2Fshaderity-graph/lists"}