An open API service indexing awesome lists of open source software.

https://github.com/tmhsdigital/animation-demo-1


https://github.com/tmhsdigital/animation-demo-1

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

# 🎨 Unique GSAP Animation Demo

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![GitHub stars](https://img.shields.io/github/stars/TMHSDigital/animation-demo-1.svg)](https://github.com/TMHSDigital/animation-demo-1/stargazers)
[![GitHub forks](https://img.shields.io/github/forks/TMHSDigital/animation-demo-1.svg)](https://github.com/TMHSDigital/animation-demo-1/network)
[![GitHub issues](https://img.shields.io/github/issues/TMHSDigital/animation-demo-1.svg)](https://github.com/TMHSDigital/animation-demo-1/issues)
[![GitHub last commit](https://img.shields.io/github/last-commit/TMHSDigital/animation-demo-1.svg)](https://github.com/TMHSDigital/animation-demo-1/commits/main)
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/TMHSDigital/animation-demo-1/graphs/commit-activity)
[![Made with Love](https://img.shields.io/badge/Made%20with-❤-red.svg)](https://github.com/TMHSDigital)

An interactive and visually stunning animation demo showcasing the power of GSAP (GreenSock Animation Platform) combined with SVG animations and audio visualization.

![Demo Preview](https://via.placeholder.com/800x400.png?text=Demo+Preview)

## 🌟 Features

- 🤖 Animated SVG character with eye-tracking
- 🎵 Audio player with real-time frequency visualization
- 🌈 Dynamic theme switching (Default, Dark, Neon)
- 📜 Parallax scrolling effect
- 🎛️ Interactive animation controls (Play/Pause, Reverse, Speed)
- 📱 Responsive design for various screen sizes

## 🚀 Live Demo

Experience the magic: [Unique GSAP Animation Demo](https://tmhsdigital.github.io/animation-demo-1/)

## 🛠️ Technologies Used

- HTML5
- CSS3
- JavaScript (ES6+)
- [GSAP (GreenSock Animation Platform)](https://greensock.com/gsap/)
- [Web Audio API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API)
- [ScrollTrigger](https://greensock.com/scrolltrigger/)

## 🏁 Getting Started

### Prerequisites

- A modern web browser (Chrome, Firefox, Safari, Edge)
- Basic knowledge of HTML, CSS, and JavaScript
- Familiarity with SVG is a plus

### Installation

1. Clone the repository:
```sh
git clone https://github.com/TMHSDigital/animation-demo-1.git
```
2. Navigate to the project directory:
```sh
cd animation-demo-1
```
3. Open `index.html` in your web browser.

## 🎨 Customization

### Modifying the Character

Edit the `character.svg` file to change the appearance of the animated character. Make sure to maintain the existing IDs for seamless integration with the JavaScript animations.

### Changing Themes

Modify the CSS variables in the `:root` selector of `styles.css` to create new themes or adjust existing ones.

### Adding New Animations

Extend the GSAP timeline in `scripts.js` to add new animations to the character or other elements.

## 📊 Project Stats

- [![Repo Size](https://img.shields.io/github/repo-size/TMHSDigital/animation-demo-1.svg)](https://github.com/TMHSDigital/animation-demo-1)
- [![Code Size](https://img.shields.io/github/languages/code-size/TMHSDigital/animation-demo-1.svg)](https://github.com/TMHSDigital/animation-demo-1)
- [![Contributors](https://img.shields.io/github/contributors/TMHSDigital/animation-demo-1.svg)](https://github.com/TMHSDigital/animation-demo-1/graphs/contributors)
- [![Commit Activity](https://img.shields.io/github/commit-activity/m/TMHSDigital/animation-demo-1.svg)](https://github.com/TMHSDigital/animation-demo-1/graphs/commit-activity)

## 🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check [issues page](https://github.com/TMHSDigital/animation-demo-1/issues).

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

## 📜 License

Distributed under the MIT License. See `LICENSE` for more information.

## 📞 Contact

TMHSDigital - [@TMHSDigital](https://twitter.com/TMHSDigital) - contact@tmhsdigital.com

Project Link: [https://github.com/TMHSDigital/animation-demo-1](https://github.com/TMHSDigital/animation-demo-1)

## 🙏 Acknowledgements

- [GSAP](https://greensock.com/gsap/)
- [Google Fonts](https://fonts.google.com/)
- [Font Awesome](https://fontawesome.com)
- [Shields.io](https://shields.io)

---


Made with ❤️ by TMHSDigital