Drag the background!
World: Storing Input

Owner: P5 Editor porting project  
API: P5 (r2)
World type: No Mind

Move the mouse across the screen to * change the position of the circles. The positions * of the mouse are recorded into an array and played * back every frame. Between each frame, the newest * value are added to the end of each array and the * oldest value is deleted.

Created: 16 Jun 2021
Modified: 17 Sep 2023

Type: Public. Plain JS.
View plain JS.

Get Embed code.
Get New window embed code.
Get Autorun embed code.

8 runs

Post this World to X:  

Run
Edit Must be logged in.
Update image Must be logged in.
Clone Must be logged in.
New Mind Only valid for Worlds that use Minds.
Change World type Must be owner.
Change API Must be owner.
Delete Must be owner.
The background is a program, showing the JavaScript graphics used on this site.
The globes light up when you log in.
 
Font:

Users retain ownership of user content.

Platforms      Stats      The name      Terms and conditions

Call for partners      Contact

Call for partners!
Ancient Brain is looking for a partner to co-write a JavaScript coding book for schools, to be used worldwide. This would be a course for students in learning to code from scratch. The book and course will be integrated into the Ancient Brain site. This is an opportunity for someone looking to develop a course and textbook to partner with a site to promote it. Read more.