You can find it here:
*sorry insert image does not work
When yellow cable is HIGH
- Attiny
read analog from green -> calculate -> write analog on purple - Attiny
read analog from purple -> calculate -> write analog on brown - Attiny
read analog from brown -> calculate -> write analog on blue
When yellow cable is LOW
3. Attiny
read analog from blue -> calculate -> write analog on brown
2. Attiny
read analog from brown -> calculate -> write analog on purple
- Attiny
read analog from purple -> calculate -> write analog on green
Please ignore synchronization issue, I wanted to simplify things as much as possible.