Anonymous user
Color wheel: Difference between revisions
m
→{{header|Processing_Python}}: removed blank line
(Added Processing task) |
m (→{{header|Processing_Python}}: removed blank line) |
||
Line 424:
=={{header|Processing_Python}}==
<lang python>size(300, 300)
background(0)
radius = min(width, height) / 2.0
Line 438 ⟶ 437:
colorMode(HSB)
c = color(int(h * 255), int(s * 255), 255)
set(x, y, c) # note that set() can be used as Processing or as Python set()
=={{header|Python}}==
|