Module pacai.ui.gridworld.utils

Various graphics utilities for gridworld.

Functions

def begin_graphics(width=640, height=480, color='#000000', title=None)
def circle(pos, r, outlineColor, fillColor, endpoints=None, style='pieslice', width=2)
def clear_screen(background=None)
def draw_background()
def formatColor(r, g, b)
def keys_pressed(d_o_e=None, d_w=2)
def line(here, there, color='#000000', width=2)
def polygon(coords, outlineColor, fillColor=None, filled=1, smoothed=1, behind=0, width=1)
def sleep(secs)
def text(pos, color, contents, font='Helvetica', size=12, style='normal', anchor='nw')
def wait_for_keys()