Skip to content

Commit

Permalink
Merge pull request #23 from PatrickBloss/main
Browse files Browse the repository at this point in the history
add step to rgb
  • Loading branch information
cramosk authored Oct 27, 2023
2 parents e818e43 + ba30125 commit 228d582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Teams/green_twins/src/color_spectrum.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def rgb(i):
y_offset = 0
for x in range(320):
# print(rgb(x))
command = "\n".join([get_draw_color_command(x + x_offset,y+y_offset, rgb(x)) for y in range(180)])
command = "\n".join([get_draw_color_command(x + x_offset,y+y_offset, rgb(x*4)) for y in range(180)])
# print(command)
msg = bytes(f"{command}\n", "UTF-8")
sock.sendall(msg)
Expand Down

0 comments on commit 228d582

Please sign in to comment.