Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
8
Task/Random-numbers/MAXScript/random-numbers.max
Normal file
8
Task/Random-numbers/MAXScript/random-numbers.max
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
arr = #()
|
||||
for i in 1 to 1000 do
|
||||
(
|
||||
a = random 0.0 1.0
|
||||
b = random 0.0 1.0
|
||||
c = 1.0 + 0.5 * sqrt (-2*log a) * cos (360*b) -- Maxscript cos takes degrees
|
||||
append arr c
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue