Initial commit with project files
This commit is contained in:
14
4_Farbrepräsentationen/ü6/b.py
Normal file
14
4_Farbrepräsentationen/ü6/b.py
Normal file
@@ -0,0 +1,14 @@
|
||||
import numpy as np
|
||||
|
||||
from color_code import subtractive_color_plot
|
||||
|
||||
img = np.zeros((300, 500, 3), dtype=np.uint8)
|
||||
|
||||
img[0:50, 0:500] = [0, 0, 0]
|
||||
img[50:100, 0:500] = [0, 0, 0]
|
||||
img[100:150, 0:500] = [0, 0, 0]
|
||||
img[150:200, 0:500] = [0, 0, 0]
|
||||
img[200:250, 0:500] = [0, 0, 0]
|
||||
img[250:300, 0:500] = [0, 0, 0]
|
||||
|
||||
subtractive_color_plot(img)
|
||||
Reference in New Issue
Block a user