Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 844 Bytes

README.md

File metadata and controls

10 lines (6 loc) · 844 Bytes

P5.js

Pong-Inspired animation with Gravity in p5.js

This is a simple Pong-inspired animation created using p5.js. The animation features animated balls that bounce around the canvas, are a ected by gravity, and allow for dynamic changes in their color and size. Multiple balls are present, and each ball has unique speed and size characteristics.

Features Gravity: Balls experience downward gravity, making them fall unless they bounce o the edges. Speed Control: Balls move at varying speeds and bounce o the canvas edges with realistic behavior. Color & Size Change: Pressing any key changes the color and size of all the balls on the screen. Multiple Balls: The program features multiple balls that behave independently, each with its own size, speed, and color.

Prerequisites: p5.js JavaScript library

https://p5-js-sepia.vercel.app/