{"id":33902523,"url":"https://github.com/codeyousef/sigil","last_synced_at":"2026-05-05T02:04:59.219Z","repository":{"id":328197079,"uuid":"1112368955","full_name":"codeyousef/sigil","owner":"codeyousef","description":"Declarative 3D graphics for Kotlin Multiplatform. Build WebGPU/Vulkan scenes using Compose-style syntax with the Materia engine.","archived":false,"fork":false,"pushed_at":"2025-12-26T09:01:40.000Z","size":3984,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-27T20:44:29.707Z","etag":null,"topics":["3d-graphics","compose","declarative-ui","graphics","kotlin","kotlin-multiplatform","rendering","shaders","ssr","vulkan","webgpu","wgsl"],"latest_commit_sha":null,"homepage":"https://sigil.yousef.codes","language":"Kotlin","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/codeyousef.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-08T14:28:35.000Z","updated_at":"2025-12-26T08:58:42.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/codeyousef/sigil","commit_stats":null,"previous_names":["codeyousef/sigil"],"tags_count":39,"template":false,"template_full_name":null,"purl":"pkg:github/codeyousef/sigil","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeyousef%2Fsigil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeyousef%2Fsigil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeyousef%2Fsigil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeyousef%2Fsigil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeyousef","download_url":"https://codeload.github.com/codeyousef/sigil/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeyousef%2Fsigil/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28400356,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["3d-graphics","compose","declarative-ui","graphics","kotlin","kotlin-multiplatform","rendering","shaders","ssr","vulkan","webgpu","wgsl"],"created_at":"2025-12-12T00:32:13.274Z","updated_at":"2026-05-05T02:04:59.212Z","avatar_url":"https://github.com/codeyousef.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"docs/assets/sigil-logo.png\" alt=\"Sigil logo\" width=\"40\" /\u003e Sigil\n\n**Declarative 3D for Kotlin Multiplatform \u0026 Jetpack Compose**\n\n[![Maven Central](https://img.shields.io/maven-central/v/codes.yousef.sigil/sigil-compose)](https://central.sonatype.com/artifact/codes.yousef.sigil/sigil-compose)\n[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![Kotlin](https://img.shields.io/badge/Kotlin-2.0+-7f52ff.svg)](https://kotlinlang.org)\n[![Compose Multiplatform](https://img.shields.io/badge/Compose-Multiplatform-4285F4.svg)](https://www.jetbrains.com/lp/compose-multiplatform/)\n\n---\n\n**Sigil** is a powerful library that brings 3D rendering to your Compose Multiplatform applications using a familiar, declarative syntax. Built on top of the **Materia** engine, Sigil bridges the gap between the reactivity of Compose and the performance of low-level graphics APIs (Vulkan, WebGPU, Metal).\n\n## ✨ Features\n\n- **Declarative Syntax**: Build scenes with `Box`, `Sphere`, `Group`, and `Light` composables.\n- **Reactive State**: Drive animations and scene updates using standard Compose state (`mutableStateOf`, `animate*AsState`).\n- **Multiplatform**:\n    - 🖥️ **JVM (Desktop)**: Vulkan-backed rendering.\n    - 🌐 **Web (JS/Wasm)**: WebGPU/WebGL2 support.\n    - 📱 **Android/iOS**: (Coming Soon)\n- **PBR Materials**: Physically Based Rendering for realistic lighting and materials.\n- **Zero Boilerplate**: No manual loop management or context handling required.\n\n## 📦 Installation\n\nAdd Sigil to your `commonMain` dependencies in `build.gradle.kts`:\n\n```kotlin\nimplementation(\"codes.yousef.sigil:sigil-compose:\u003cversion\u003e\")\nimplementation(\"codes.yousef.sigil:sigil-schema:\u003cversion\u003e\")\n\n// For SSR with Ktor, Spring Boot, or Quarkus:\nimplementation(\"codes.yousef.sigil:sigil-summon:\u003cversion\u003e\")\n```\n\nReplace `\u003cversion\u003e` with the latest Sigil version from Maven Central.\n\n## 🚀 Quick Start\n\nCreate a stunning 3D scene in just a few lines of code:\n\n```kotlin\nimport codes.yousef.sigil.compose.canvas.MateriaCanvas\nimport codes.yousef.sigil.compose.composition.*\nimport io.materia.core.math.Vector3\n\n@Composable\nfun RotatingCube() {\n    var rotationY by remember { mutableStateOf(0f) }\n\n    // Your animation logic here...\n\n    MateriaCanvas(modifier = Modifier.fillMaxSize()) {\n        // Lighting\n        AmbientLight(intensity = 0.5f)\n        DirectionalLight(position = Vector3(5f, 10f, 5f))\n\n        // Objects\n        Group(rotation = Vector3(0f, rotationY, 0f)) {\n            Box(\n                color = 0xFF4488FF.toInt(),\n                metalness = 0.5f,\n                roughness = 0.1f\n            )\n        }\n    }\n}\n```\n\n## 📚 Documentation\n\nExplore the full guides and API reference:\n\n- [**Quickstart Guide**](docs/quickstart.md)\n- [**Components Guide**](docs/components.md)\n- [**State Management**](docs/state-management.md)\n- [**Materials \u0026 PBR**](docs/materials.md)\n- [**SSR \u0026 Hydration**](docs/ssr-hydration.md)\n- [**Architecture**](docs/architecture.md)\n\n## 🤝 Contributing\n\nContributions are welcome! Please check our [Contributing Guidelines](CONTRIBUTING.md) before submitting a PR.\n\n## 📄 License\n\nThis project is licensed under the MIT License.\n\n---\n\n*Built with ❤️ by [CodeYousef](https://github.com/codeyousef)*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeyousef%2Fsigil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeyousef%2Fsigil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeyousef%2Fsigil/lists"}