super simple 30 minute project that I whipped up out of pure boredom instead of doing my homework lol (don't tell my parents) Click the flag then the purple circle in the middle of the screen and move your mouse around the stage the change the beat and note of the piano key. Explanation on how the project works: The note of the piano correlates to the absolute (positive) value of the x value of the circle/mouse, rounded to the nearest 100th, then divided by 2 The beats of the piano correlates to the absolute value of the y value of the circle/mouse, rounded to the nearest 100th, then divided by 200 If there is any changes you guys can think I can make to optimize my code, let me know :D
In all honesty this is likely what most of my future projects on here are going to be like. Random small coding projects that I get a random idea for. If you guys have any other small project ideas let me know and I MIGHT code them ( no guarantee I'm only going off of my motivation to even touch the site at this point.) see y'all maybe in a month or so -ari