Visualisations for gravity basin patterns (patterns formed by plotting the final point of a particle spawned into a space containing 3 zero-size gravitational bodies with a small amount of drag), inspired by 2swap's video, ༄ GRAVITY BASINS ࿐.
This is made in Godot Engine 4.5 (4.5.1) on Windows. It requires a decent GPU, or you can decrease the resolution. The GDScript is kinda messy because I wasn't bothered to make it good, because it's more of a shader-based program. If you want to edit the program, you may (or may not) require a decent knowledge about Godot, including GDScript and Godot's shader language.
You can left click and drag the points around and see the graph change in real-time. Right-click to spawn a single particle. Press tab to toggle the plot visibility (improves frame rate if not visible). Press Q to change the plot type. The plot types' formulae are computed in gravity.gdshader:91 and documented in formulae.md (I wrote it and it previews correctly in Visual Studio Code, but GitHub's Markdown renderer throws an error when trying to render the math block). I'm not the best at maths terms and stuff, so please don't blame me if I misuse terms or symbols.
The exported executable is too big to upload in one file, so you can build it yourself with Godot. Download Godot Engine at godotengine.org/download. The editor literally doesn't need any installation. And because it's Godot, you can just drop the executable Godot editor binary into the project folder (in the same level as project.godot) and run the binary, and it runs the exported project instantly (for more information, see Exporting Projects - Godot Engine Docs).
I think the best visualisation is the one that's dark blue and white (6 presses of Q from the original tri-colour plot). It very nicely correlates with how much winding the point does before settling.