Center Finder 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15from gridmas import * name = "Center Finder" author = "Ciaran" portion = RangeAttr("position", 0, -1, 1, 0.01) def draw(): global portion for pixel in pixels(): if pixel.y > portion.get(): pixel.set_rgb(200, 0, 0) else: pixel.set_rgb(0, 0, 200) Was this page helpful? Thanks for your feedback! Thanks for your feedback! Help us improve this page by using our feedback form.