{"id":19688545,"url":"https://github.com/maxvol/scenekitdsl","last_synced_at":"2025-09-09T05:39:52.632Z","repository":{"id":89974915,"uuid":"168469918","full_name":"maxvol/SceneKitDSL","owner":"maxvol","description":"Swift DSL for SceneKit","archived":false,"fork":false,"pushed_at":"2020-07-01T19:37:11.000Z","size":24,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-29T08:43:30.972Z","etag":null,"topics":["dsl","scenekit","swift"],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/maxvol.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-31T05:45:35.000Z","updated_at":"2023-10-15T19:13:25.000Z","dependencies_parsed_at":"2023-05-30T18:00:21.307Z","dependency_job_id":null,"html_url":"https://github.com/maxvol/SceneKitDSL","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/maxvol/SceneKitDSL","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxvol%2FSceneKitDSL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxvol%2FSceneKitDSL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxvol%2FSceneKitDSL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxvol%2FSceneKitDSL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxvol","download_url":"https://codeload.github.com/maxvol/SceneKitDSL/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxvol%2FSceneKitDSL/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274250113,"owners_count":25249393,"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-09-09T02:00:10.223Z","response_time":80,"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":["dsl","scenekit","swift"],"created_at":"2024-11-11T18:38:16.915Z","updated_at":"2025-09-09T05:39:52.609Z","avatar_url":"https://github.com/maxvol.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SceneKitDSL\nSwift DSL for SceneKit\n\nSee demo project DSLSceneGame (https://github.com/maxvol/DSLSceneGame) for reference.\n\nBuild scene in a hierarchically structured way\n```swift\nscene.rootNode.apply {\n    // create and add a camera to the scene\n    $0.node {\n        $0.camera { _ in }\n        // place the camera\n        $0.position = SCNVector3(x: 0, y: 0, z: 15)\n    }\n    // create and add a light to the scene\n    $0.node {\n        $0.light {\n            $0.type = .omni\n        }\n        $0.position = SCNVector3(x: 0, y: 10, z: 10)\n    }\n    // create and add an ambient light to the scene\n    $0.node {\n        $0.light {\n            $0.type = .ambient\n            $0.color = UIColor.darkGray\n        }\n        $0.position = SCNVector3(x: 0, y: 10, z: 10)\n    }\n}\n```\n...instead of\n\n```swift\n// create and add a camera to the scene\nlet cameraNode = SCNNode()\ncameraNode.camera = SCNCamera()\nscene.rootNode.addChildNode(cameraNode)\n\n// place the camera\ncameraNode.position = SCNVector3(x: 0, y: 0, z: 15)\n\n// create and add a light to the scene\nlet lightNode = SCNNode()\nlightNode.light = SCNLight()\nlightNode.light!.type = .omni\nlightNode.position = SCNVector3(x: 0, y: 10, z: 10)\nscene.rootNode.addChildNode(lightNode)\n\n// create and add an ambient light to the scene\nlet ambientLightNode = SCNNode()\nambientLightNode.light = SCNLight()\nambientLightNode.light!.type = .ambient\nambientLightNode.light!.color = UIColor.darkGray\nscene.rootNode.addChildNode(ambientLightNode)\n```\n\nCarthage setup -\n```\ngithub \"maxvol/SceneKitDSL\" ~\u003e 0.0.4\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxvol%2Fscenekitdsl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxvol%2Fscenekitdsl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxvol%2Fscenekitdsl/lists"}