应用信息
- 版本
- 1.0
- 安装包大小
- 499.95KB
- 首次上架
- 2024-01-31
- 开发者
- Keith Bromley
- Bundle ID
- GZ962756J3.com.me.kbromley.SpinningPolyhedra
- 分类
- 图像与设计 (11,098)
应用截图
截图取自 App Store 商店页,等比完整显示、不裁剪,点击可放大。
应用介绍
摘要
SpinningPolyhedra is an open-source multi-platform app (using SwiftUI, Swift, and Xcode) providing sample code of what can be done using Apple's' SceneKit API
来自 App Store 来源SpinningPolyhedra is an open-source multi-platform app (using SwiftUI, Swift, and Xcode) providing sample code of what can be done using Apple's' SceneKit API. It renders various spinning polyhedra. This app runs on macOS, iOS, and iPadOS devices. The source code can be downloaded from https://github.com/Keith-43/SpinningPolyhedra . The ContentView struct provides the user interface to the app. It provides a top toolbar allowing the user to select the mesh geometry she wants to display. The nine options are: Plane, Tetrahedron, Cube, Octahedron, Dodecahedron, Cuboctahedron, Icosahedron, Rhombicuboctahedron, and TruncatedIcosahedron. It also provides a toolbar allowing the user to select the desired display mode. The seven options are: solid, edges, solid + edges, faces, faces + edges, multiSolid, and multiSolid + edges. Between these two toolbars is the main visualization pane rendering the desired View. It also provides a bottom toolbar allowing the user to select the desired color of the solids. The ten options are: gold, pomegranate, green, blue, cyan, magenta, Netherlands orange, Brazil yellow, Argentina blue, and Liverpool red. The solid body is rendered with a shiny metallic color (as selected in the bottom toolbar). The edges (comprised of thin cylinders) are rendered with a simple orange color. And the faces are each rendered with a different value of the hue color gamut. In my humble opinion, the result is pretty impressive. It looks partcularly striking when viewed in Dark Mode. The multiSolid bodies are six of whichever polyhedron is selected in the top toolbar. Each has a different radius and is at a different distance from the camera. Each one spins on a different axis and at a different rate. A drag gesture (using either macOS or iOS) moves the x,y position of the camera - while it remains pointed at the center of the largest polyhedron. Similarly, a pinch gesture (using either macOS or iOS) zooms the rendered image as desired.
常见问题FAQPage
谁开发的?
开发者为 Keith Bromley,应用标识为 GZ962756J3.com.me.kbromley.SpinningPolyhedra。
这个应用是什么时候首次发布的?
首次发布于 2024-01-31,日期来自本站数据库记录。
答案里的每个数字都来自本页上方展示的数据,可以逐条核对。