Myro_graphics

# Myro_graphics - Myro Graphics Douglas Blank Bryn Mawr...

This preview shows pages 1–11. Sign up to view the full content.

Myro Graphics Douglas Blank Bryn Mawr College Institute for Personal Robots in Education IPRE Winter Workshop Atlanta, GA January 7-9, 2011

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Graphics
Games YouTube game videos available at cs.brynmawr.edu/games

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Music
Instant Messaging and the Web

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Vision and Image Processing
Graphics Different graphical objects: Window Points Lines Circles Polygons Text from myro import * win = GraphWin() win.setBackground("red") p = Point(100, 100) p.draw(win) c = Circle(p, 50) c.setFill(‘green’) c.draw(win)

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
GraphWin Main Graphics Window win = GraphWin() #200x200 window win.getWidth() # 200 win.getHeight() # 200
Point An (X,Y) point win = GraphWin() #200x200 window p1 = Point(75, 50) p1.draw(win) p2 = Point(125, 50) p2.draw(win) p3 = Point(100, 75) p3.setFill(“red”) p3.draw(win) p1.getX() p1.getY()

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Points to Lines? A series of points win = GraphWin() #200x200 window for i in range(90, 110): p = Point(i, 75) p.setFill(‘red’) p.draw(win) p3 = Point(90, 75) p4 = Point(110, 75) l = Line(p3, p4) l.setFill(‘red’) l.draw(win)
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 20

Myro_graphics - Myro Graphics Douglas Blank Bryn Mawr...

This preview shows document pages 1 - 11. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online