Skip to content

🧼 A fun little project I did as a code newbie using HTML, CSS, JavaScript & p5.js

Notifications You must be signed in to change notification settings

miffili/bubblemachine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Bubble Machine v1.0

Inspiration

This project was inspired by Daniel Shiffman's tutorial series "Foundations of Programming". For simple objects to display he uses circles and calls them bubbles. At some point, I decided to polish these bubbles a bit and code a web app to play with them.

» user stories

  • I can make an artisan bubble pushing a button
  • I can turn the machine on automatic and it makes bubbles
  • I can toggle between chill and speed for the automatic
  • I can toggle between monochrome bubbles and colored ones
  • I can plopp single bubbles by touching them with my cursor
  • I can plopp all bubbles by double click on the surface

Implementation

For this project I wanted to implement the newly learned knowledge of event listeners and objects in JavaScript. It was also the first time I combined coding in p5 with an user interface. The movement of the bubbles is based on a sinus function with a little gravity component. After some months now, I see a lot to improve and I will revisit this project some time to:

  • improve the movements of the bubbles
  • add functionality

Made with

  • HTML, CSS, JavaScript
  • p5.js
    ♥

Preview

Check out the live preview

Screenshot of The Bubble Machine

About

🧼 A fun little project I did as a code newbie using HTML, CSS, JavaScript & p5.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published