{"id":21916774,"url":"https://github.com/ccworld1000/cccanvas","last_synced_at":"2025-03-22T09:33:11.235Z","repository":{"id":56904270,"uuid":"393893315","full_name":"ccworld1000/CCCanvas","owner":"ccworld1000","description":"对iOS Metal 颜色,点,线,三角形,面,纹理,金字塔,六边形,七边形,立方体 demo 的封装 [Support Swift and Objective-C]","archived":false,"fork":false,"pushed_at":"2021-11-17T03:34:14.000Z","size":573,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T14:11:06.876Z","etag":null,"topics":["canvas","cccanvas","color","cube","gpu","heptagonal","hexagon","line","metal","plane","pyamid","texture","triangle"],"latest_commit_sha":null,"homepage":"https://ccworld1000.github.io/2021/08/09/CCCanvas-iOS-Metal-MetalKit-GPU-极简体验Demo系列","language":"Objective-C","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/ccworld1000.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}},"created_at":"2021-08-08T07:40:34.000Z","updated_at":"2024-01-16T14:26:39.000Z","dependencies_parsed_at":"2022-08-20T19:20:24.601Z","dependency_job_id":null,"html_url":"https://github.com/ccworld1000/CCCanvas","commit_stats":null,"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccworld1000%2FCCCanvas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccworld1000%2FCCCanvas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccworld1000%2FCCCanvas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccworld1000%2FCCCanvas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ccworld1000","download_url":"https://codeload.github.com/ccworld1000/CCCanvas/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244937753,"owners_count":20535124,"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":["canvas","cccanvas","color","cube","gpu","heptagonal","hexagon","line","metal","plane","pyamid","texture","triangle"],"created_at":"2024-11-28T19:20:06.561Z","updated_at":"2025-03-22T09:33:11.217Z","avatar_url":"https://github.com/ccworld1000.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"### [CCCanvas](https://github.com/ccworld1000/CCCanvas) 对iOS Metal 颜色,点,线,三角形,面,纹理,金字塔,六边形,七边形,立方体 demo 的封装\n\n* 主要简化演示，没有深入考虑细节\n* 封装了Metal相关细节，极简调用\n* 支持CocoaPods 导入, pod 'CCCanvas'\n* 可能是史上最简的iOS演示GPU,Metal的demo\n* 使用Objective-C编写，同时支持Objective-C与Swift语言调用\n* 使用Xcode13.1生成动态CCCanvas.framework，仅支持iOS 15 x86_64 模拟器\n* 对iOS Metal 颜色,点,线,三角形,面,纹理,金字塔,六边形,七边形,立方体 demo 的封装\n* iOS GPU Metal中的一个小小细节可能会导致卡在那里半天，几天，甚至更久,后果苦不堪言,于是可能就有了以下demo,也许不定时更新,主要是封装细节,极简调用,运行demo,初步体验，更多的细节再通过网上查阅细节。\n\n### [CCCanvas](https://github.com/ccworld1000/CCCanvas) iOS Metal GPU 极简体验Demo系列\n\n1. [CCCanvas](https://github.com/ccworld1000/CCCanvas) iOS Metal GPU 极简体验Demo之 - 颜色 [\u003c\u003c代码链接\u003e\u003e](https://github.com/ccworld1000/CCCanvas.Color)\n\n![CCCanvas.Color iPhone Screenshot](https://raw.github.com/ccworld1000/CCCanvas.Screenshot/main/CCCanvas.Color.jpg?raw=true)\n\n2. [CCCanvas](https://github.com/ccworld1000/CCCanvas) iOS Metal GPU 极简体验Demo之 - 点 [\u003c\u003c代码链接\u003e\u003e](https://github.com/ccworld1000/CCCanvas.Point)\n\n![CCCanvas.Point iPhone Screenshot](https://raw.github.com/ccworld1000/CCCanvas.Screenshot/main/CCCanvas.Point.jpg?raw=true)\n\n3. [CCCanvas](https://github.com/ccworld1000/CCCanvas) iOS Metal GPU 极简体验Demo之 - 线 [\u003c\u003c代码链接\u003e\u003e](https://github.com/ccworld1000/CCCanvas.Line)\n\n![CCCanvas.Line iPhone Screenshot](https://raw.github.com/ccworld1000/CCCanvas.Screenshot/main/CCCanvas.Line.jpg?raw=true)\n\n4. [CCCanvas](https://github.com/ccworld1000/CCCanvas) iOS Metal GPU 极简体验Demo之 - 三角形 [\u003c\u003c代码链接\u003e\u003e](https://github.com/ccworld1000/CCCanvas.Triangle)\n\n![CCCanvas.Triangle iPhone Screenshot](https://raw.github.com/ccworld1000/CCCanvas.Screenshot/main/CCCanvas.Triangle.jpg?raw=true)\n\n5. [CCCanvas](https://github.com/ccworld1000/CCCanvas) iOS Metal GPU 极简体验Demo之 - 面 [\u003c\u003c代码链接\u003e\u003e](https://github.com/ccworld1000/CCCanvas.Plane)\n\n![CCCanvas.Plane iPhone Screenshot](https://raw.github.com/ccworld1000/CCCanvas.Screenshot/main/CCCanvas.Plane.jpg?raw=true)\n\n6. [CCCanvas](https://github.com/ccworld1000/CCCanvas) iOS Metal GPU 极简体验Demo之 - 纹理 [\u003c\u003c代码链接\u003e\u003e](https://github.com/ccworld1000/CCCanvas.Texture)\n\n![CCCanvas.Texture iPhone Screenshot](https://raw.github.com/ccworld1000/CCCanvas.Screenshot/main/CCCanvas.Texture.jpg?raw=true)\n\n7. [CCCanvas](https://github.com/ccworld1000/CCCanvas) iOS Metal GPU 极简体验Demo之 - 金字塔 [\u003c\u003c代码链接\u003e\u003e](https://github.com/ccworld1000/CCCanvas.Pyamid)\n\n![CCCanvas.Pyamid iPhone Screenshot](https://raw.github.com/ccworld1000/CCCanvas.Screenshot/main/CCCanvas.Pyamid.jpg?raw=true)\n\n8. [CCCanvas](https://github.com/ccworld1000/CCCanvas) iOS Metal GPU 极简体验Demo之 - 六边形 [\u003c\u003c代码链接\u003e\u003e](https://github.com/ccworld1000/CCCanvas.Hexagon)\n\n![CCCanvas.Hexagon iPhone Screenshot](https://raw.github.com/ccworld1000/CCCanvas.Screenshot/main/CCCanvas.Hexagon.jpg?raw=true)\n\n9. [CCCanvas](https://github.com/ccworld1000/CCCanvas) iOS Metal GPU 极简体验Demo之 - 七边形 [\u003c\u003c代码链接\u003e\u003e](https://github.com/ccworld1000/CCCanvas.Heptagonal)\n\n![CCCanvas.Heptagonal iPhone Screenshot](https://raw.github.com/ccworld1000/CCCanvas.Screenshot/main/CCCanvas.Heptagonal.jpg?raw=true)\n\n10. [CCCanvas](https://github.com/ccworld1000/CCCanvas) iOS Metal GPU 极简体验Demo之 - 立方体 [\u003c\u003c代码链接\u003e\u003e](https://github.com/ccworld1000/CCCanvas.Cube)\n\n![CCCanvas.Cube iPhone Screenshot](https://raw.github.com/ccworld1000/CCCanvas.Screenshot/main/CCCanvas.Cube.jpg?raw=true)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccworld1000%2Fcccanvas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fccworld1000%2Fcccanvas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccworld1000%2Fcccanvas/lists"}