Coder Social home page Coder Social logo

neuronplayground's Introduction

NeuronPlayground

A simple Kivy based interactive/realtime neuron playground.

Neuron playground

What is this thing ?

I built this neuron playground as a proof of concept for a bigger project back in 2019, the idea is to represent biological neurons and their basic interactions in real time.

Basics :

You can start by placing some neurons and hitting the play/stop button:

Place_neurons

These neurons (the circles) have a base neurotransmitter level (the grey color fill) and fill up until they discharge an action potential the rate is fixed for simplicity but in real life can vary.

You can then connect the neurons :

Connect_neurons

Connection weights can be changed per connection but are static (once more for simplicity), in real life they change based on the inputs (here we just have a basic oscillation per neuron ). connections propagate when the neurons fire and are indicated in white, the connection weight is also indicated by the thick part of the connecting line.

You can choose excitatory (red) or Inhibitory (blue) connections :

Inhibit_neurons

Here 3 inhibitory neurons synapse with another neuron that won't fire anymore, you can play with NT levels and connection weights

You can also change the grid size and global firing.

Nueron Synchronization

As mentioned this is not a real neuron emulator, but can help to show some concepts, here for instance are 26 neurons firing at random and 2 groups of 4 that get synchronized via excitatory connections.

Read more about neural synchronization here:

Medium - Neural Synchronization in the brain

Running and packaging :

Just install Kivy and run the the src folder, haven't tested packaging as a standalone program, but you can follow this guide:

KIVY docs: Packaging your application

Let me know if you fork it, know of related projects or have some issues.

Cheers !

neuronplayground's People

Contributors

kenoleon avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

0xblockchainx0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.