Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
9
Task/Color-wheel/Mathematica/color-wheel.math
Normal file
9
Task/Color-wheel/Mathematica/color-wheel.math
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
r = 100;
|
||||
Image[Table[
|
||||
If[x^2 + y^2 <= r^2,
|
||||
angle = Mod[ArcTan[N@x, y]/(2 Pi), 1];
|
||||
List @@ RGBColor[Hue[angle, Sqrt[x^2 + y^2]/N[r], 1.0]]
|
||||
,
|
||||
{1, 1, 1}
|
||||
], {x, -r, r}, {y, -r, r}]
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue