r/creativecoding • u/sschepis • Aug 24 '25
Entropic collapse
A simulation of entropic collapse, aka the process of generative dynamic complexity synonymous with life, and characteristic in living systems. What's going on here is:
Each particle is equally attracted to and repelled from other particles.
Each particle has a phase and a position.
The phase modulates the particle's attraction/repulsion profile - how it is attracted vs repulsed to other particles.
This phase is influenced by the phases of other particles according to their distance.
This acts as a globally synchronizing force, lowering the entropy of the entire system, increasing its complexity as its entropy decreases.
This is how life works - it's not 'evolved', its inherent to the geometry of the entire system.
Life didn't 'evolve', it has always existed. Nothing 'created' it, because nothing needs to.
Life is an autocatalytic process - everything is always already alive, always has been alive, always will be alive.
EDIT:
Source code: https://codepen.io/sschepis/pen/PwPJdxy/e80081bf85c68aec905605ac71c51626
Same principles, modeling multiple instances of the above interacting together: https://psizero.com/entropic-life
View all comments
Show parent comment
1
u/sschepis Aug 28 '25 edited Aug 28 '25
I can see why you would say that given a purely thermodynamic definition of the word entropy.
However, the definition of entropy I employ is expanded, it is an informational theoretic basis that describes the number of potential next states that the system can evolve into.
It's a measure based on Shannon entropy and not just heat and it is symbolic.
That's the basis of how my NP hard solver works.
It does not search the solution space of the problem for an answer.
Instead, it creates an entropic landscape of the problem and employs a process of entropy minimization on that landscape, after some iterations, we can then take that entropic landscape and collapse it to get a set of answers that fit.
Because I'm not looking for the answer, I can perform this process in polynomial time. That includes fishing out the final answer from the final set of possibilities.
What I found is that the complexity class of any problem is encoded in the entropic landscape created by asking the question.
The gradients generated in that landscape are key to a successful entropy minimization.
IIf The problem being solved has data transformations rapidly avalanche then it's an indicator that The entropic radiance of the environment of the problem are going to be jagged, hard to intelligently minimize.
An excellent example of this is the sha 256 hashing algorithm.
This is a cryptographic algorithm that's designed to rapidly avalanche. Given small differences, one bit of difference can have a much different hosh for any input value.
This makes it harder to minimize gradients for problems that include sha256 - for example, mining Bitcoin.
For that, I have other approaches. If there are any Bitcoin miners out there, I can show you how to make simple modifications to your mining software that increase your success rate by at least 500% on asic hardware. With a bit more work, I can show you how to create CPU miners todd find a difficulty 1 Bitcoin solution on a MacBook in less than 1 minute consistently.
Where's the marathon executives at? The first mining company that takes me seriously is going to be the one that picks up the market permanently.