9 Favorite Cities that I have been

Each cities have impressed me in different ways…


import spatialpixel.mapping.slippymapper as slippymapper
def setup():
size(600, 600)
scale = 10
color = "carto-dark"
width = 200
height = 200



global athens
athens = slippymapper.SlippyMapper(37.983722, 23.727563, scale, color, width, height)
athens.render()

global budapest
budapest = slippymapper.SlippyMapper(47.498520, 19.040585, scale, color, width, height)
budapest.render()

global barcelona
barcelona = slippymapper.SlippyMapper(41.385624, 2.172893, scale, color, width, height)
barcelona.render()

global osaka
osaka = slippymapper.SlippyMapper(34.672606, 135.498281, scale, color, width, height)
osaka.render()

global newyork
newyork = slippymapper.SlippyMapper(40.736497, -73.993965, scale, color, width, height)
newyork.render()

global siemreap
siemreap = slippymapper.SlippyMapper(13.366147, 103.850444, scale, color, width, height)
siemreap.render()

global santorini
santorini = slippymapper.SlippyMapper(36.393092, 25.461399, scale, color, width, height)
santorini.render()

global tokyo
tokyo = slippymapper.SlippyMapper(35.709011, 139.731483, scale, color, width, height)
tokyo.render()

global singapore
singapore = slippymapper.SlippyMapper(1.355480, 103.867719, scale, color, width, height)
singapore.render()

def draw():
background(255)
textSize(40)
athens.draw()

translate(200, 0)
budapest.draw()

translate(200, 0)
barcelona.draw()

translate(-600, 0)
osaka.draw()

translate(200, 200)
newyork.draw()

translate(200, 0)
siemreap.draw()

translate(200, 0)
osaka.draw()

translate(-600, 200)
santorini.draw()

translate(200,0)
santorini.draw()

translate(200,0)
tokyo.draw()

translate(200, 0)
singapore.draw()