Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 256 colour example #175

Merged
merged 2 commits into from
Mar 9, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix 256 colour example
  • Loading branch information
sophiajt committed Mar 9, 2022
commit 4f859646d3f2562f9677057486f14242eeda63de
4 changes: 2 additions & 2 deletions coloring/256_color_testpattern.nu
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ def print_blocks [start:int, end:int, block-cols:int, block-rows:int, blocks-per

print_run 0 16 # The first 16 colours are spread over the whole spectrum
print "" # Single line
print_blocks 16 123 6 6 3 # 6x6x6 colour cube between 16 and 231 inclusive
print_blocks 124 231 6 6 3 # 6x6x6 colour cube between 16 and 231 inclusive
print_blocks 16 123 6 6 3 # 6x6x6 colour cube between 16 and 123 inclusive
print_blocks 124 231 6 6 3 # 6x6x6 colour cube between 124 and 231 inclusive
print_blocks 232 255 12 2 1 # Not 50, but 24 Shades of Grey