Skip to content

Custom Focus Node designed for SceneKit, a part of ARKit. Requires at least iOS 13.

Notifications You must be signed in to change notification settings

markckim/MAFocusNode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

MAFocusNode

Custom Focus Node designed for SceneKit, a part of ARKit. Requires at least iOS 13.

Focus node reacts to changes in camera angle and angular velocity with room for additional customizability using focus node velocity.

The implementation rotates the focus node depending on the orientation of the camera. For example, if the camera is rotated 45 degrees counterclockwise along the z-axis, the focus node will also do the same.

Screen Shot 2022-06-22 at 1 33 18 AM

Additionally, scale and rotation transforms area also applied onto the focus node depending on how the camera's angular velocity changes along the x and y axes.

Screen Shot 2022-06-22 at 1 34 19 AM

Focus Node Demo:

Focus Node Demo

About

Custom Focus Node designed for SceneKit, a part of ARKit. Requires at least iOS 13.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages