{"id":19141063,"url":"https://github.com/computer-graphics-tools/simd-tools","last_synced_at":"2025-05-06T23:18:22.066Z","repository":{"id":244989032,"uuid":"812332898","full_name":"computer-graphics-tools/simd-tools","owner":"computer-graphics-tools","description":" SIMDTools provides utility functions and extensions for working with SIMD matrices and vectors in Swift.","archived":false,"fork":false,"pushed_at":"2024-12-05T17:32:43.000Z","size":4428,"stargazers_count":16,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-19T16:10:52.356Z","etag":null,"topics":["computer-graphics","linear-algebra","swift"],"latest_commit_sha":null,"homepage":"https://swiftpackageindex.com/computer-graphics-tools/simd-tools","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/computer-graphics-tools.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,"zenodo":null}},"created_at":"2024-06-08T15:36:34.000Z","updated_at":"2025-03-29T14:25:45.000Z","dependencies_parsed_at":"2024-06-18T22:01:17.201Z","dependency_job_id":"f4874d23-b97f-4df3-9188-d76f9b464222","html_url":"https://github.com/computer-graphics-tools/simd-tools","commit_stats":null,"previous_names":["computer-graphics-tools/simd-tools"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/computer-graphics-tools%2Fsimd-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/computer-graphics-tools%2Fsimd-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/computer-graphics-tools%2Fsimd-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/computer-graphics-tools%2Fsimd-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/computer-graphics-tools","download_url":"https://codeload.github.com/computer-graphics-tools/simd-tools/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252761125,"owners_count":21800124,"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":["computer-graphics","linear-algebra","swift"],"created_at":"2024-11-09T07:20:17.391Z","updated_at":"2025-05-06T23:18:22.036Z","avatar_url":"https://github.com/computer-graphics-tools.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SIMDTools\n\n[![Platform Compatibility](https://img.shields.io/badge/Platforms-iOS%20|%20macOS%20|%20watchOS%20|%20tvOS-brightgreen)](https://swift.org/platforms/)\n[![Swift Version](https://img.shields.io/badge/Swift-5.9-orange)](https://swift.org)\n\n\u003cp align=\"left\"\u003e\n    \u003cimg src=\"Sources/SIMDTools/SIMDTools.docc/Resources/documentation-art/simd-tools@2x.png\", width=\"120\"\u003e\n\u003c/p\u003e\n\n`SIMDTools` provides utility functions and extensions for working with SIMD matrices and vectors in Swift.\n\n## Overview\n\nThe `simd-tools` package includes:\n\n- `Angle` struct for representing angles.\n- Extensions for `float3x3` and `float4x4` to perform various matrix transformations.\n- `SIMD2`, `SIMD3` and `SIMD4` components permutations.\n- Utility functions such as `clamp`, `saturate`, and `interpolate`.\n\nPlease see [the package's documentation](https://swiftpackageindex.com/computer-graphics-tools/simd-tools/documentation/simdtools)\nfor more detailed usage instructions.\n\n## Adding the SIMDTools as a Dependency\n\nTo use the SIMDTools package, first add it as a dependency:\n\n```swift\nlet package = Package(\n    // name, platforms, products, etc.\n    dependencies: [\n        // other dependencies\n        .package(url: \"https://github.com/computer-graphics-tools/simd-tools\", from: \"0.0.1\"),\n    ],\n    targets: [\n        // targets\n    ]\n)\n```\n\nSwift 5.9 is required in order to use the package.\n\n## Tutorials\n\n- [Use SIMDTools in SwiftUI](https://swiftpackageindex.com/computer-graphics-tools/simd-tools/tutorials/usesimdtoolsinswiftui)\n\n    Learn how to use SIMD matrices to calculate affine transform for rotating SwiftUI views. Get started with SIMDTools by building the demo app RotateImage.\n\n## Usage\n\n- [Working With Angles](Sources/SIMDTools/SIMDTools.docc/WorkingWithAngles.md)\n- [Working With 3x3 Matrices](Sources/SIMDTools/SIMDTools.docc/WorkingWith3x3Matrices.md)\n- [Working With 4x4 Matrices](Sources/SIMDTools/SIMDTools.docc/WorkingWith4x4Matrices.md)\n- [Helper Functions](Sources/SIMDTools/SIMDTools.docc/HelperFunctions.md)\n\n## License\n\nSIMDTools is licensed under [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomputer-graphics-tools%2Fsimd-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomputer-graphics-tools%2Fsimd-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomputer-graphics-tools%2Fsimd-tools/lists"}