Move the mouse and use scroll wheel (or up and down keys) to zoom the camera in/out. Supports custom framerates and custom stage sizes: https://turbowarp.org/938186761/ A simple particle system that allows you to render particles and have their position be tracked in space! You can move and zoom the camera and the particles will retain their position. You can impose limits on the maximum number of particles as well as the speed at which the move and spawn. Precalculation functions also exist to simulate the particles running for a specified number of seconds so that they don't start out blank. I designed this system to (imperfectly) mimic the way Godot does 2D particles since I like Godot :)
Credits to @TestMuffin for the delta time and stage size detector libraries. Delta Time: https://scratch.mit.edu/projects/487694716/ Stage Size Detector: https://scratch.mit.edu/projects/588493413/