-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.py
33 lines (26 loc) · 1.18 KB
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import asyncio
from Tranception import Configuration, Dimensionality, Directionality
from Tranception.engine import TCEngine
# TODO:
# Graph single node - single phase..
# Scale to multiple nodes simultaneously
# Color Code the nodes via the Engine
# Build Path and Particle System
# Add Gravity/Induction Cross Analysis
# Abstract the Transceiver functions away from the Node, and into Transmission or Reflection
# Integrate with Nova and risc-v via SKIFT
# TODO: Implement Toroidal and Hyperdimensional configurations, as well as sparse connections
def main():
print(" ~~~~ Tranception dude! ~~~~~")
start_time = asyncio.get_event_loop().time()
screen_size = (1200, 1200)
grid_size = 2
dimensionality = Dimensionality.Linear
configuration = Configuration.Adjacency
directionality = Directionality.Radio
engine = TCEngine(screen_size, grid_size, configuration, dimensionality, directionality)
print(f" ~~~~ Tranception dude! ~~~~~\n\t\t\t - took {asyncio.get_event_loop().time() - start_time:.5f} seconds to initialize.")
engine.activate()
#engine.run(engine.activate)
if __name__ == '__main__':
main()