Dance of Neurons
Adam Rychlý
Trying to grasp the complexity of the human brain is an extremely complex task that has been researched for hundreds of years. This artwork takes a simple brain activity model and visualizes the beautiful and complex dance hidden within the neural activity of out brains.
493107-Rychly_Adam-DanceOfNeurons-Voiceover.mp4
Code snippet
// Updating neuron agents
update() {
if (this.active) {
for (let i = 0; i < this.synapses.length; i++) {
this.synapses[i].activate(this);
}
}
}
// Change state of synapse agent
changeState() {
this.synapseCooldown--;
if (this.activated) {
this.active = true;
this.activated = false;
return;
}
if (this.active) {
this.active = false;
}
}