Skip to content
项目

tracyhenry-visionOS/GenerativeDoodleArt_VisionOS

在 GitHub 查看

关于

A compact visionOS project that offers a deep dive into the platform's core functionalities

学习与教育

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Generative Wall Art with Apple Vision Pro

A compact example project that demonstrates the core functionalities of visionOS, accompanied by a Youtube tutorial series where we code this example from scratch.

Alt Text

If you want to get started with development for Apple Vision Pro, this is your perfect starting point.

Follow us on Twitter: Twitter Twitter

Tutorials

YouTube - Subscribe

visionOS APIs Used

  • Scene Types (WindowGroup & ImmersiveSpace)
  • RealityKit
    • AnchorEntity (Plane Detection & Head Tracking)
    • ModelEntity
    • BillboardSystem
    • ParticleEmitterComponent
    • SwiftUI Attachments
    • SimpleMaterial
    • TextureResource
  • SwiftUI
    • RealityView
    • Observable Macro
    • Animations
  • UIKit
    • UIBezierPath

3D Content

This demo handles 3D content in two ways. First, the main character including its animations and particle effects is created in Reality Composer Pro. Second, the image canvas and its resources are created programmatically in Swift.

Setup

To run this project you need Xcode 15 Beta 5+ and visionOS 1.0 which you can download here.

  1. Clone the repo.
  2. Open the project in Xcode 15.
  3. Select the root project GenerativeWallArt in the view hierarchy.
  4. Go to Signing & Capabilities.
  5. Select your development team.
  6. Select the Apple Vision Pro simulator as a build target.
  7. Build and run the project.
  8. Select the museum scene, and move the character to the empty wall.
  9. Tap the character to start the demo.

探索相关项目

加载中…