Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color typed link and signal #22

Closed
1000i100 opened this issue Mar 7, 2020 · 2 comments
Closed

Color typed link and signal #22

1000i100 opened this issue Mar 7, 2020 · 2 comments

Comments

@1000i100
Copy link

1000i100 commented Mar 7, 2020

I'm thinking about a type system based on color.
In this mode :

  • a signal keep the color of the first node that emit it.
  • link have 2 color scales, a signal input color filter, and a target color signal converter
  • grey link are color agnostic (all signal color/type can go throw them)
  • grey link transfer signal as is (the signal input value is preserved)
  • colored node change there internal value only with the value of same color signal.
  • colored link filter signal to only let pass same color signals
  • the value of a signal, in a node that split it between link, will only split it between same color output links.

To preserve actual behavior, it could be a global setting (not node or link dependent) :

Color : only aesthetic
Color : logic significant
Aesthetic || Logic Gates

@1000i100
Copy link
Author

1000i100 commented Mar 19, 2020

i will add 2 more switch :
red : is a normal color || red : propagate death
normal || kill
green : is a normal color || green : back to life signal
normal || life

@1000i100
Copy link
Author

done in #20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant