Relax while watching bouncing particles making connections when they get closer
tiki.li
tiki.li
https://tiki.li/run/#cod=dVLNbsIwDL7nKT5p0gRDdEGMA9PYM+yO0FT...
Plus, when you want to move onto slightly more complex projects you can just keep using Python and steadily adding to your knowledge.
E.g. I began with turtle, then something that showed who's in space using requests and an API, then a little chat app with sockets, then a full GUI chat app that pretended to be notepad so I could chat at school. Nowadays, I still sometimes write software in the same language that I first wrote print("Hello, world!") in.
Don't get me wrong, I think it's great that you're making it. I just think that Python is already a great language coming from Scratch.
My example is part of the testing suite for my canvas library: https://scrawl-v8.rikweb.org.uk/demo/particles-006.html
One of the fun parts of naively n^2 particle simulations is trying to find ways to reduce the algorithmic complexity of collision detection. I remember messing with sweep lines and similar, though I don’t remember what optimizations made it into the final code. [0]
And your projects are really nice too. Wall smasher is amazing!
He publishes the source code on https://github.com/Bleuje/processing-animations-code/tree/ma...
Here’s my version, with particles affecting each other: https://tiki.li/run/#cod=dVPbToNAEH3fr5jExLQacFH7UNP6Db43jaF...
https://tiki.li/run/#cod=dVPBUoNADL3vV2TGGafVYV2qPdSpfoP3Tse...
https://tiki.li/run/#cod=dVTBcqMwDL37KzTTmU7SDq5Jm0N20v2G3ju...
https://tiki.li/run/#cod=dVTBcqMwDL37KzTTmZ2kHahJkwM76X7D3ju...
https://tiki.li/run/#cod=nVXbbptAEH3nK0ayVJlExuAEy0ROHqp8QN8...
[1] https://www.youtube.com/watch?v=uRJ-fPAO3Go [2] https://play.google.com/store/apps/details?id=com.figmentano...
All I see is blonde, redhead...
https://mattermodeling.stackexchange.com/questions/9541/lenn...
https://en.m.wikipedia.org/wiki/Lennard-Jones_potential
With the right parameters you get to see the solid and fluid phases of matter !
https://tiki.li/run/#cod=pVVLj9s2EL7zVwxgoLCzXa20yTbeIJtD2h4...
Otherwise, a few particles being ejected at very high speeds IS realistic... they carry away surplus kinetic energy, which allows the remaining cluster to contract.
And once too much matter has lost too much kinetic energy, it does converge and become a black hole.
The weird thing is that their radius scales proportional with their mass, not volume... so they grow in this weird way where adding a 3 solar mass black to a 3e6 solar mass SMBH causes the SMBH's volume to grow by several, several times the volume taken by the 3e0 BH. It's like black holes force themselves to grow in a straight line internally, but then the entire sphere encompassing that line becomes event horizon, which is probably why there only seems to end up being 1 SMBH per galaxy, they get so big so quickly at the 1e6+ range, that any other BHs drifting around the vicinity get absorbed by the growing EH, which causes the EH to grow more, causing it to absorb more BH... so there's this period where a bunch of relatively tiny, sparse black holes suddenly hit the critical density where the entire region they were all sharing suddenly pops into one huge event horizon that encompasses all the empty space they were sharing previously.
https://tiki.li/run/#cod=dVLbbuIwEH33Vxyp0gqKGhIktKVqeO1HIB5...
https://tiki.li/run/#cod=fVPRbuMgEHznK0aqdGodxSW5S0+uSl/zEVF...
https://cybersystems.dev/gtc/gtc.html
Inspired by this article:
https://johncarlosbaez.wordpress.com/2024/09/20/the-gravo-th...
Nonetheless, my default thoughts do not take away from it being a fun visual to zone out to for a bit
https://networksciencebook.com/
The version in the banner is interactive with your cursor!
Will anyone ever write fun things like this again once the machine can do it for you? How will young people ever get interested when the machine can do all the work for you?
https://tiki.li/run/#cod=jVPBbtswDL3rKx5QYEgd2FWMDliWaIf+RpG...
https://vincentgarreau.com/particles.js/
There are many like it, but this one is yours and its pretty cool.
Thank you. I wonder if I could use it for meditation. If only it would not require a blue screen.
I wrote a "game jam fail" game involving pulsating blue "cells" that cluster together and form attacking aliens:
Geeking out over Jared Tarbell over dial up basically got me into computers in the first place.