christopher commited on
Commit
b674049
1 Parent(s): 8841ace

Create new file

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import mesa
2
+
3
+
4
+ def agent_portrayal(agent):
5
+ portrayal = {
6
+ "Shape": "circle",
7
+ "Color": "red",
8
+ "Filled": "true",
9
+ "Layer": 0,
10
+ "r": 0.5,
11
+ }
12
+ return portrayal