Skip to content

Tongziqi/HelloAnimation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HelloAnimation VisionOS Demo

HelloAnimation is a demonstration of animation in SwiftUI designed for VisionOS, showcasing how to use custom animations and color gradients. This project demonstrates creating complex linear gradients for various commodity colors (gold, silver, platinum, and bronze) and applying these gradients within an animated path. Here how it looks.

demo gif

Ideally you should ask your designer to create SVG file with single continuous bezier curve, export it and convert it with online converter like this one or manually. You can find "Hello" example here.

Features

  • Built with Swift and SwiftUI.
  • Supports multiple commodity color gradients: Gold, Silver, Platinum, and Bronze.
  • Custom Shape for animated path.
  • Implements LinearGradient for rich color gradient effects.
  • Infinite loop animation effect, elegantly displaying animation capabilities.

Installation

Clone this repository to your local machine:

git clone https://github.com/yourusername/HelloAnimation.git

Ensure you have the latest version of Xcode and the SwiftUI library installed in your development environment to compile and run this project.

Usage

Open the OpenvisionOS.xcodeproj project file, select a simulator or connected device, and then run the project. The animation will play immediately upon app launch.

Contributing

If you would like to contribute to HelloAnimation, please follow these steps:

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages