Example of 3D Integration to Visualize Train Seat Map in iOS
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
Shinkansen 3D seat booking prototype is an example app in iOS utilizing SceneKit, an Apple high-level 3D rendering engine, to show the possibility of integrating 3D technology to visualize actual spaces which in this case is a Japanese high-speed train's seat map (Shinkansen).
Besides the 3D seat map, this example app also includes some several interesting aspects including an example of Atomic Design methodology workflow that has been implemented in the codebase and smooth view transition that turns navigational push animation into seamless step by step flow.
When talking about 3D in mobile apps, many people are thinking about 3D games right away, but this feature in this prototype is ultimately going to change that notion. The feature includes the real-time 3D rendering of the high-speed train cabin which allows users to understand the look of the real space and more easily make a decision on what and where the seat they want to pick.
In this feature, SceneKit, which is one of the iOS-native framework made by Apple, has been used as a 3D framework, and it allows the other parts of the app to remain to have a native behavior.
View transition animation is a set of animations that occurs when the app suggests bringing from one view to the other. Custom built view transition animations are used in all the in-between views to communicate and navigate users in a meaningful and seamless way.
This prototype's atomic design system has been influenced by Brad Frost Atomic Design article, which is a methodology to organize design elements into categorized groups. As the design implementation of the prototype has been broken down into hierarchical components, It allows the app to be structured orderly and very easy to edit and expand.
~~Besides features that are in the prototype app, all design files and 3D assets in this repository are here and open-sourced under the MIT license, so feel free to experiment and play around with those assets!~~ (Coming Soon)
Here are some complimentary articles to learn more about this prototype. * 3D doesn't always mean games or AR: 3D Seat Map * The Make of 3D Seat Map: Engineering Episode * ~~The Make of 3D Seat Map: Design Episode~~ (Coming Soon)
This project mostly uses standard iOS frameworks. Regardless, a few external libraries are used in this project, and here are those libraries.
Kumi-iOS is an iOS framework that abstracts common design values into different designer-understandable data objects such as
AnimationStyle, and it also comes with convenience extensions for setting those values into different subclasses of
In this project, Kumi-iOS is used for all design elements and is as a part of Atomic Design System methodology.
BrightFutures is a Swift framework that handles asynchronous code with a handful of completion blocks and type-safe error handling.
In this prototype, BrightFutures plays a vital role to handle and organize the loading method of multiple 3D assets asynchronously.
SceneKit is a high-level 3D graphics API made by Apple to provide an easy-to-use layer over the lower level APIs (Metal.) SceneKit's main features include object-based scene graph, physics engine, and particle system.
In this prototype, SceneKit has been used as the main framework to render 3D visualization of the seat map. As
SCNViewthat is used to display the seat map is a subclass of
UIView, it behaves like any other subclasses of
UIView, so that makes the whole prototype remains to have native look and feel.
Atomic Design is a methodology coined by Brad Frost. It is a method of creating and maintaining design system in a systematic hierarchy and useful pattern. It consists of collections of reusable components that have been organized and standardized, and they can easily be assembled to be an application.
This prototype showcase the use of this method in the Design System folder.
Don't hesitate to contribute to this project! I know there is much room for improvement, so feel free to provide ideas or open pull requests with new features or solve existing issues with your way. 😉
First off, I'd like to say thank you to all of you who visits this repository. Each of you might have different reasons for visiting here, but I hope that the project is useful for you at some level. 🙂
Also, I'd like to give a big thanks to Nattawut S. as a partner who has been contributing a lot and makes this project happen. 🙏
One reason this repository exists is to share knowledge to the community, but at the same time, I believe that what it is here is not perfect and there is a room for improvement, so if you want to share ideas or what you know, please do so. I'm also ready to learn more! 👍
Shinkansen 3D Seat Booking Prototype for iOS is released under the MIT license. See LICENSE for details.