风格
SpinningPolyhedra

SpinningPolyhedra

开发者 Keith Bromley

分类: 图像与设计 免费
扫码打开

截图

10 张截图 网格
分享
Facebook X / Twitter LinkedIn Reddit Pinterest WhatsApp Telegram Email
Instagram / 微博 / 小红书 会拉起系统分享并附带生成的卡片图 获取分享卡片 ↓
版本
1.0
大小
0 MB
首次发布
2024年1月31日
分类
图像与设计

应用介绍

来自 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.

用户评价

0 条文字评价

暂无文字评价

分享卡片 #

Instagram / 微博 / 小红书 会拉起系统分享并附带生成的卡片图
SpinningPolyhedra
图像与设计
★ 0.0 · 0 个评分
免费
iOSAppGallerywww.iOSAppGallery.com
X / Twitter 1600×900
SpinningPolyhedra
图像与设计
★ 0.0 · 0 个评分
免费
扫码查看详情 iOSAppGallery · iOSAppGallery.com
发现好玩的 iOS 应用与游戏
Pinterest 1000×1500
SpinningPolyhedra
图像与设计
★ 0.0 · 0 个评分
免费
扫码查看详情 iOSAppGallery · iOSAppGallery.com
发现好玩的 iOS 应用与游戏
小红书 1242×1660
SpinningPolyhedra
图像与设计
★ 0.0 · 0 个评分
免费
iOSAppGallerywww.iOSAppGallery.com
X 全量(全部截图) 1600×900