max's Avatar

max

@maxxfrazer.bsky.social

spatial code farmer

58 Followers  |  20 Following  |  36 Posts  |  Joined: 11.11.2023  |  1.8512

Latest posts by maxxfrazer.bsky.social on Bluesky

sugar is the toughest one!
consider the fiber content in sugary things such as fruit as a benefit though. fiber helps slow the release of that sugar, avoiding spikes.

01.09.2025 08:20 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

This sample code is a gold mine for RealityKit Developers.

Also I tried running it on the Vision Pro and it really is incredible to run the game in immersive mode.

25.06.2025 09:00 β€” πŸ‘ 1    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

this is how we did the conversions before updating scntool.

25.06.2025 08:41 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
write(to:options:delegate:progressHandler:) | Apple Developer Documentation Exports the scene and its contents to a file at the specified URL.

ah yes the scene one

developer.apple.com/documentatio...

25.06.2025 08:41 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Bringing your SceneKit projects to RealityKit | Apple Developer Documentation Adapt a platformer game for RealityKit’s powerful ECS and modularity.

apologies for the delay!

developer.apple.com/documentatio...

24.06.2025 19:58 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

we added some real modularity to this, with completely modular swift packages that you can use in your own projects.
packages for camera movement inside normal scenes, immersive spaces, or portals, a package to add agency movement to entities, and more.

24.06.2025 19:57 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Bringing your SceneKit projects to RealityKit | Apple Developer Documentation Adapt a platformer game for RealityKit’s powerful ECS and modularity.

the sample project to migrate games from scenekit to realitykit is live πŸ™Œ

developer.apple.com/documentatio...

24.06.2025 19:57 β€” πŸ‘ 13    πŸ” 3    πŸ’¬ 1    πŸ“Œ 0

scnanim files aren’t covered by scntool, but it should. could you file a fb for it?

for now, you can also load in your model to an SCNScene, apply the animations to the SCNNode, then export that node as a usd file using the β€œSCNNode/export(…)” API

24.06.2025 19:55 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0
Preview
Bringing your SceneKit projects to RealityKit | Apple Developer Documentation Adapt a platformer game for RealityKit’s powerful ECS and modularity.

Hi Gil, apologies for the delay, the sample is live now!

developer.apple.com/documentatio...

24.06.2025 19:52 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

this is awesome!!

03.05.2025 15:48 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

oh my bad, that’s for a β€œfloat literal”, so you can do β€œ.transparent(opacity: 1.0)” but not a β€œfloat variable” such as opacityChange *facepalm*

21.04.2025 20:46 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

material.blending = .transparent(opacity: opacityChange)

20.04.2025 23:25 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
init(floatLiteral:) | Apple Developer Documentation Creates an instance initialized to the specified floating-point value.

fyi you should be able to skip the floatLiteral init

developer.apple.com/documentatio...

20.04.2025 23:24 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

i just looked and the docs don’t show images of what this looks like.
not that many people will know how the plate window effect compares to the default πŸ™„

19.04.2025 09:06 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

although i can’t do independent work on public repos or articles these days, i’m grateful i can support the ecosystem in other ways πŸ› οΈπŸš€

19.04.2025 08:57 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

my github stats finally dropped to A- 😭
i’m really happy people are still using my pre-ο£Ώ Swift packages though; some still get 20+ clones /day!

19.04.2025 08:57 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

when not curated they end up in generic subsections like β€œprotocols” or β€œstructures”

19.04.2025 08:56 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

a good way to find it is look for the symbols that the docs team haven’t yet curated πŸ˜…:

19.04.2025 08:56 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

for the rotation and translation conversions:
SwiftUI+RealityGestures.swift/gestureValueChanged

that gets passed through to here:
RealityDragComponent+DragEvents.swift/dragUpdated

the package’s readme should help for using it in another project too!

17.02.2025 23:45 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

how are the controllers?? i saw your post about getting them a little while ago

17.02.2025 23:23 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

i think the reality gestures package in this sample does that:

developer.apple.com/documentatio...

17.02.2025 23:22 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

The final scene of Severance Season 2, Episode 3, was quite simply a cinematic masterpiece.

🏒 πŸšͺ 🧠 😢

02.02.2025 12:27 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
An Apple employee leads a workshop on Apple Intelligence and App Intents, explaining key concepts while attendees implement them on their laptops to build apps.

An Apple employee leads a workshop on Apple Intelligence and App Intents, explaining key concepts while attendees implement them on their laptops to build apps.

We’re on our second day in Rome; App Intents and Apple Intelligence workshop today.
I’ll be leading the visionOS & RealityKit workshop tomorrow!

29.01.2025 14:51 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

looking forward to see what 2025 brings! α―…

08.01.2025 10:40 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

i hope the developers using it can see some visible improvements to the API, documentation, and sample code that make it clear RealityKit is a first-class citizen in the ecosystem.

08.01.2025 10:40 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

today marks one year since i went from building open source libraries that use RealityKit, and writing short articles about different features, to working on the framework itself.

08.01.2025 10:40 β€” πŸ‘ 8    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

no problem! i often point developers at our workshops to your content by the way πŸš€ it’s great stuff

24.12.2024 12:59 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

yes there’s nothing special about AnchorEntity in that way, it just has some convenience properties to access the component.
its one of the RK symbols that confuses most folks (along with ModelEntity)

24.12.2024 10:05 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

adding an AnchoringComponent to the entity, rather than adding it as a child to an AnchorEntity
both work fine! but using the component removes a level from the hierarchy

24.12.2024 09:56 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

why use anchorentity rather than just the component?

24.12.2024 09:37 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@maxxfrazer is following 20 prominent accounts