Browse Search Popular Register Upload Rules User list Login:
Search:
Very small Logic-AND-Gate

Image:
screenshot of the scene

Author: Otacon140.96

Group: Default

Filesize: 60.67 kB

Date added: 2009-04-01

Rating: 5

Downloads: 1732

Views: 1538

Comments: 4

Ratings: 1

Times favored: 0

Made with: Phun

Tags:

Scene tag

This is the smallest logic gate i've ever made. I used no thyme variables, but there is some script code for the red circle in the middle of the gate. It works with color information of the different polygons.

It's not finished, so your welcome to improve it!

Thyme functions:
[red circle]
OnCollide:

(e)=>{
_e.other.color == [1.0, 1.0, 1.0, 1.0] &&
_e.this.color == [1.0, 0.0, 0.0, 1.0] ? {
__e.other.color = [0.0, 0.0, 0.0, 1.0];
__e.this.color = [1.0, 1.0, 0.0, 1.0]
_} : {
__e.other.color == [1.0, 1.0, 1.0, 1.0] &&
__e.this.color == [1.0, 1.0, 0.0, 1.0] ? {
___e.this.color = [0.0, 1.0, 0.0, 1.0]
__} : {
___e.other.color == [0.0, 0.0, 0.0, 1.0] &&
___e.this.color == [0.0, 1.0, 0.0, 1.0] ? {
____e.other.color = [1.0, 1.0, 1.0, 1.0];
____e.this.color = [1.0, 0.0, 0.0, 1.0]
___} : {
____e.this.color = [1.0, 0.0, 0.0, 1.0]
___}
__}
_}
}

[white circles]
OnCollide:
(e)=>{e.other.color = e.this.color}
Last edited at 2009/04/01 23:14:50 by Otacon140.96
Please log in to rate this scene
edit
Similar scenes
Title: Thyme Logic gate
Rating: 6.3
Filesize: 367.05 kB
Downloads: 1120
Comments: 4
Ratings: 4
Date added: 2010/06/08 14:53:02
Made with: Phun
Rating: rated 6.3
download
Title: Logic Gates fix
Rating: 5.5
Filesize: 323.74 kB
Downloads: 861
Comments: 3
Ratings: 2
Date added: 2008/08/15 11:55:12
Made with: Phun
Rating: rated 5.5
download
Title: new logic gate
Rating: 5
Filesize: 77.69 kB
Downloads: 1079
Comments: 2
Ratings: 1
Date added: 2022/01/26 13:39:25
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Neat Logic Gates
Rating: 5.6364
Filesize: 30.62 kB
Downloads: 1185
Comments: 2
Ratings: 5
Date added: 2009/09/03 22:46:44
Made with: Algodoo before v1.8.5
Rating: rated 5.6
download
Title: [LAG] FBlock Circuits
Rating: 5
Filesize: 43.63 kB
Downloads: 669
Comments: 0
Ratings: 1
Date added: 2021/11/09 21:36:08
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Simple scripted optical logic gates
Rating: 6.1111
Filesize: 19.49 kB
Downloads: 939
Comments: 0
Ratings: 3
Date added: 2009/10/07 09:52:08
Made with: Algodoo before v1.8.5
Rating: rated 6.1
download
uhhm they all have motors..
so?
maybe math.and ?
It's very interesting, maybe i will do something with this :*)