Inspiration

The hackathon theme was to create art that is only possible with technology. Instead of drawing a picture, I wanted people to create a living Earth using their voice.

The idea is simple:

Your voice becomes wind. Wind moves oceans. Oceans shape land. Forests grow with music.

The project also carries a message: when you speak gently, the Earth becomes more beautiful.

What it does

Earth Paints Itself is a web application that responds to your voice or music.

It analyzes sound in real time and changes the planet.

  • **Pitch controls the wind direction.
  • **Volume controls wind speed.
  • **Bass sounds create mountains.
  • **Melody grows forests.
  • **A calm and steady voice creates glowing lights and colorful landscapes.

Every performance creates a different Earth, so no two worlds are the same.

How we built it

We developed the project using HTML, CSS, and JavaScript.

  • The Web Audio API captures and analyzes sound.
  • A 140 × 140 grid stores the planet's land, forests, and colors.
  • Sound features update the planet continuously.
  • An HTML Canvas draws the Earth and its glowing effects in real time.

Challenges

At first, mountains and forests kept growing until the entire Earth became land.

We solved this by:

  • adding erosion so land slowly disappears over time,
  • limiting growth so it cannot increase forever.

Another issue was that the wind moved in a straight line, creating repeated patterns. We added a small amount of randomness to make the movement look natural.

What we learned

We learned that generative art needs balance, not just continuous growth.

We also learned that adding a meaningful idea can make a project much more interesting. Instead of being just an audio visualizer, our project shows that gentle voices help the world bloom, giving both a visual effect and a positive message.

Accomplishments that we're proud of

  • Built a complete interactive web application using HTML, CSS, and JavaScript.
  • Successfully transformed voice and music into a dynamic, evolving digital Earth.
  • Created a unique generative art experience where every interaction produces a different planet.
  • Designed an intuitive and visually engaging user interface with real-time animations.
  • Combined creativity, technology, and environmental awareness into one meaningful project.
  • Completed a fully browser-based solution without requiring any external software.

What's next for Breath of the World

  • Add a 3D Earth for a more immersive experience.
  • Improve voice analysis with AI for more accurate interactions.
  • Introduce different themes such as desert, ocean, and winter worlds.
  • Allow users to save and share their unique Earth creations online.
  • Optimize the application for mobile devices and tablets.
  • Add multiplayer mode where multiple users can create a world together.

Built With

  • audio-reactive
  • browser-based
  • canvas
  • creative-coding
  • css
  • digital-art
  • generative-art
  • html
  • interactive-art
  • javascript
  • procedural-generation
  • signal-processing
  • vanilla-js
  • web-audio-api
Share this project:

Updates