Interative Floating Bubbles With JavaScript And Canvas

Category: Animation , Javascript | March 27, 2020
Author:apcurran
Views Total:3,918 views
Official Page:Go to website
Last Update:March 27, 2020
License:MIT

Preview:

Interative Floating Bubbles With JavaScript And Canvas

Description:

A tiny script to create animated, interactive, floating bubbles that respond to mouse movement and touch tap events.

How to use it:

1. Create an HTML5 canvas element on which the script renders bubbles.

<canvas id="canvas"></canvas>

2. Download and insert the main script script.js into the document and done.

<script defer src="./script.js"></script>

You Might Be Interested In:


One thought on “Interative Floating Bubbles With JavaScript And Canvas

  1. Sourabh Sunil Shahane

    Hi, its a great background, however I wanted my own background picture and only the bubbles floating, but I cant find the way to to it. can you help please

    Reply

Leave a Reply