Jonathan Wight on Nostr: I've built something Ive wanted for a long time. -- I got very tired of rendering 1 ...
I've built something Ive wanted for a long time. -- I got very tired of rendering 1 pixel wide lines in Metal.
This is GraphicsContext3D. It's basically SwiftUI's Canvas - but with 3D points instead of 2D. The geometry is converted to 3D meshes using Metal Object and Mesh shaders.
{
"id":"1b50777234aaf9091f80953bceb3bd85299609ad69d93f65c815a1281eb660e2",
"pubkey":"347df37f7e37f09b1810c16bc19c5fb74d47c2c7bfbe297eec961b626d6f4358",
"created_at":1760587739,
"kind":1,
"tags": [
[
"imeta",
"url https://files.mastodon.social/media_attachments/files/115/381/875/872/696/480/original/43bb1b65dc273d3b.mp4",
"m video/mp4",
"dim 2618x2272",
"blurhash UA6kVCj[IUf6~qj[Rjj@_3j@s:j[_4j[V@j@"
],
[
"proxy",
"https://mastodon.social/users/schwa/statuses/115381878083150321",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.ditto.pub/"
]
],
"content":"I've built something Ive wanted for a long time. -- I got very tired of rendering 1 pixel wide lines in Metal.\n\nThis is GraphicsContext3D. It's basically SwiftUI's Canvas - but with 3D points instead of 2D. The geometry is converted to 3D meshes using Metal Object and Mesh shaders.\n\nThe API looks a lot like SwiftUI Canvas.\n\nhttps://files.mastodon.social/media_attachments/files/115/381/875/872/696/480/original/43bb1b65dc273d3b.mp4",
"sig":"007ce5f99195c69f711555f50c5b8492d11f84cfe87d1a6574cb1d801a8c2f446bff6e1ee90b4156e4f6fa100b3ace63c81ed831e713a7e62431f18dcc76a293"
}