Browse Search Popular Register Upload Rules User list Login:
Search:
Spring Neurons!

Image:
screenshot of the scene

Author: UnityDogGaming04

Group: Default

Filesize: 93.99 kB

Date added: 2021-10-09

Rating: 5

Downloads: 825

Views: 315

Comments: 3

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

This is the successor to laser-based neurons in some of my recent scenes. Springs don't have to be aimed, and don't need line-of-sight to work!
The neurons are still just as hard to understand, but I added a _rule variable in each neuron which changes the output rule of the neuron.
This scene is super basic at the moment, but I plan on adding more good stuff soon.

UPD: added memory circuit, changed _rule 3 to output 0 when input is 0

I FINALLY GOT THE PRECISE BEHAVIOR I WANTED!
The key was to have two different variables, one which is _acc, the other being the value _acc had one frame ago. A third value, _pracc, is set to the difference between these. This, by definition, is how much _acc has changed from one frame to the next, and the code outputs _pracc instead of _acc!
However, after a prolonged period of being stimulated by the same value or by a value of the same sign, _acc and _pacc grow out of whack! To combat this, divide _acc by 2 each frame, and instead of checking the difference between _acc and _pracc, check the difference between (_acc * 2) and _pracc! This does cause, however a 1-frame delay between getting input and responding to it, but IT WORKS!!!!

please excuse my enthusiasm baii x 1.875
Last edited at 2021/10/13 06:19:35 by UnityDogGaming04
Please log in to rate this scene
edit
Similar scenes
Title: Dreaming visualized
Rating: 5
Filesize: 74.91 kB
Downloads: 1047
Comments: 1
Ratings: 1
Date added: 2014/08/27 15:10:54
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Neurons 2 v1.5
Rating: 5
Filesize: 39.66 kB
Downloads: 660
Comments: 4
Ratings: 1
Date added: 2021/10/18 20:34:59
Made with: Algodoo v2.1.3
Rating: rated 5
download
Title: Somewhat Better Track-Following Agent
Rating: 5
Filesize: 222.54 kB
Downloads: 771
Comments: 0
Ratings: 1
Date added: 2022/07/21 23:57:29
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Neurons
Rating: 5
Filesize: 52.72 kB
Downloads: 299
Comments: 0
Ratings: 1
Date added: 2016/03/13 20:58:11
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Start of algodoo project
Rating: 5
Filesize: 16.55 kB
Downloads: 315
Comments: 0
Ratings: 1
Date added: 2016/12/01 16:53:37
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Zero Length Spring Equivalent
Rating: 5
Filesize: 41.62 kB
Downloads: 449
Comments: 3
Ratings: 1
Date added: 2023/06/09 01:07:17
Made with: Algodoo v2.1.0
Rating: rated 5
download
(please excuse my posting of more than 3 scenes a day, got a lot done in the last 24h, also I have no idea who's day we're going by, which timezone? Or is it no 4 scenes should be within any arbitrary 24h period?)
Last edited at 2022/01/23 21:18:34 by UnityDogGaming04
Simply look at the posting date of your scenes. If there are three scenes with the same posing date, then don't post any more until the next day.
So it's based on the UTC timezone? Good, so there isn't confusion from user to user.