Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
christopher
/
mesa
like
0
Sleeping
App
Files
Files
Community
christopher
commited on
Jul 14, 2022
Commit
b674049
•
1 Parent(s):
8841ace
Create new file
Browse files
Files changed (1)
hide
show
app.py
+12
-0
app.py
ADDED
Viewed
@@ -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