-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.py
30 lines (27 loc) · 1.51 KB
/
example.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
import ideogram.ideogram as ideogram
import sys
# For help choosing colorschemes: https://bl.ocks.org/mbostock/5577023
if __name__=="__main__":
netwk = ideogram.Ideogram(outdir='chemtrails_network',
mode='network',
title='Hi Sean',
font_family='sans-serif',
font_size='60px',
title_color='random',
colorscheme='random',
bgcolor='random'
)
moire = ideogram.Ideogram(outdir='chemtrails_moire',
mode='moire',
colorscheme='Purples'
)
pack = ideogram.Ideogram(outdir='chemtrails_pack',
mode='pack',
colorscheme='Paired',
bgcolor='rgb(0,0,0)'
)
depth = ideogram.Ideogram(outdir='chemtrails_depth',
mode='depth',
colorscheme='Set3'
)
ideogram.generate('reference/test/self',netwk,moire,pack,depth)