A simple animated web app showing Santa and his reindeer flying across the sky with snowflakes and fireworks. π π¦π This web app will bring holiday joy to your visitors. Ho, ho, ho! π Merry Christmas! π
This project is a Dockerized web application served via Nginx. It includes interactive animations created with * p5.js* and incorporates fun elements such as:
- Animated falling snowflakes βοΈ
- Flying Santa and reindeer π¦
- Exploding fireworks π
- Merry Christmas message with glowing effects β¨
- Background music and an interactive "Ho Ho Ho" sound effect π’
- A lighting moon and twinkling stars πβ¨
- Animations: Watch Santa and his reindeer soar across the sky with dynamic snowflakes and fireworks.
- Background Music: Starts when the user interacts with the screen.
- Ho Ho Ho Sound: Play a spooky 'Ho Ho Ho' sound when tapping the screen again.
- Responsive Design: Full-screen experience optimized for different devices.
- Dockerized Deployment: Easy to run and serve using Docker and Nginx.
To run the web app locally, ensure you have:
- Docker installed on your machine.
- A registered domain/subdomain for external/public access (e.g.,
xmas.domain
). (Optional)
Follow these steps to set up and run the project:
-
Clone the Repository:
git clone https://github.com/betazetadev/merry-christmas-2024.git cd merry-christmas-2024
-
Check Required Files: Ensure your audio files (
christmas_song.mp3
andhohoho.mp3
) are placed in theassets
folder. -
Build and Run Docker Containers: Use Docker Compose to start the app:
docker-compose up -d
-
Access the App: Open your browser and visit:
http://localhost:9090
Or use your configured subdomain (e.g.,
xmas.domain
). -
Stop the Containers: To stop the app, run:
docker-compose down
π¦ merry-christmas-webapp
βββ assets
β βββ christmas_song.mp3 # Background music
β βββ bzd_logo.png # Our logo, you can replace it with your own
β βββ hohoho.mp3 # "Ho Ho Ho" clip sound
βββ model
β βββ firework.js # Firework class
β βββ snowflake.js # Snowflake class
βββ sketch.js # p5.js animations and interactivity
β index.html # Main web app page
βββ Dockerfile # Dockerfile for Nginx setup
βββ docker-compose.yml # Docker Compose configuration
βββ README.md # You're reading this! π
- Animations: Created with p5.js.
- Dockerization: Nginx setup for smooth deployment.
- Christmas Song: Alberto MΓ©ndez
- Ho Ho Ho Clip: Ho Ho Ho, Merry Christmas! from Cloud-10 modified with Audacity for a spooky effect.
This project is licensed under the MIT License.
Bring holiday cheer to everyone with this interactive Merry Christmas app! πβ¨