Desmos, (削除) 80 (削除ここまで) 70(削除) 70 (削除ここまで) 68 bytes
b=random(1,t)\tauτ
f(r,s,t)=(normaldist(r,s).random(1,t)(cosb,sinb))[1]
Takes an extra argument t as the seed, which is the only way to re-use the function to get different samples without pressing the randomize button.
Try it on Desmos! Try it on Desmos!
-10 bytes thanks to Aiden ChowAiden Chow
-2 bytes thanks to emanrescu A (\tau to τ)
All functions in Desmos are pure, so they can't return a different value when evaluated at different times, even in a list comprehension. This causes an issue with the CGSE policy of functions being re-usable.
There's a randomize button to re-seed all of the random seed-dependent function calls: Randomize. This doesn't vibe with me because it requires user interaction to re-seed, but it would allow the following 5553-byte submission:
b=random()\tauτ
f(r,s)=(cosb,sinb)normaldist(r,s).random
In this submission, I opted to take the random seed as an extra argument, which is a common design decision in Desmos if a program needs to avoid user action when re-seeding. This is the only way to get different outputs from random functions without the user pressing the randomize button.
Desmos, (削除) 80 (削除ここまで) 70 bytes
b=random(1,t)\tau
f(r,s,t)=(normaldist(r,s).random(1,t)(cosb,sinb))[1]
Takes an extra argument t as the seed, which is the only way to re-use the function to get different samples without pressing the randomize button.
-10 bytes thanks to Aiden Chow
All functions in Desmos are pure, so they can't return a different value when evaluated at different times, even in a list comprehension. This causes an issue with the CGSE policy of functions being re-usable.
There's a randomize button to re-seed all of the random seed-dependent function calls: Randomize. This doesn't vibe with me because it requires user interaction to re-seed, but it would allow the following 55-byte submission:
b=random()\tau
f(r,s)=(cosb,sinb)normaldist(r,s).random
In this submission, I opted to take the random seed as an extra argument, which is a common design decision in Desmos if a program needs to avoid user action when re-seeding. This is the only way to get different outputs from random functions without the user pressing the randomize button.
Desmos, (削除) 80 (削除ここまで) (削除) 70 (削除ここまで) 68 bytes
b=random(1,t)τ
f(r,s,t)=(normaldist(r,s).random(1,t)(cosb,sinb))[1]
Takes an extra argument t as the seed, which is the only way to re-use the function to get different samples without pressing the randomize button.
-10 bytes thanks to Aiden Chow
-2 bytes thanks to emanrescu A (\tau to τ)
All functions in Desmos are pure, so they can't return a different value when evaluated at different times, even in a list comprehension. This causes an issue with the CGSE policy of functions being re-usable.
There's a randomize button to re-seed all of the random seed-dependent function calls: Randomize. This doesn't vibe with me because it requires user interaction to re-seed, but it would allow the following 53-byte submission:
b=random()τ
f(r,s)=(cosb,sinb)normaldist(r,s).random
In this submission, I opted to take the random seed as an extra argument, which is a common design decision in Desmos if a program needs to avoid user action when re-seeding. This is the only way to get different outputs from random functions without the user pressing the randomize button.
Desmos, (削除) 80 (削除ここまで) 70 bytes
b=random(1,t)τ\tau
f(r,s,t)=(normaldist(r,s).random(1,t)(cosb,sinb))[1]
Takes an extra argument t as the seed, which is the only way to re-use the function to get different samples without pressing the randomize button.
-10 bytes thanks to Aiden Chow
All functions in Desmos are pure, so they can't return a different value when evaluated at different times, even in a list comprehension. This causes an issue with the CGSE policy of functions being re-usable.
There's a randomize button to re-seed all of the random seed-dependent function calls: Randomize. This doesn't vibe with me because it requires user interaction to re-seed, but it would allow the following 55-byte submission:
b=random()\tau
f(r,s)=(cosb,sinb)normaldist(r,s).random
In this submission, I opted to take the random seed as an extra argument, which is a common design decision in Desmos if a program needs to avoid user action when re-seeding. This is the only way to get different outputs from random functions without the user pressing the randomize button.
Desmos, (削除) 80 (削除ここまで) 70 bytes
b=random(1,t)τ
f(r,s,t)=(normaldist(r,s).random(1,t)(cosb,sinb))[1]
Takes an extra argument t as the seed, which is the only way to re-use the function to get different samples without pressing the randomize button.
-10 bytes thanks to Aiden Chow
All functions in Desmos are pure, so they can't return a different value when evaluated at different times, even in a list comprehension. This causes an issue with the CGSE policy of functions being re-usable.
There's a randomize button to re-seed all of the random seed-dependent function calls: Randomize. This doesn't vibe with me because it requires user interaction to re-seed, but it would allow the following 55-byte submission:
b=random()\tau
f(r,s)=(cosb,sinb)normaldist(r,s).random
In this submission, I opted to take the random seed as an extra argument, which is a common design decision in Desmos if a program needs to avoid user action when re-seeding. This is the only way to get different outputs from random functions without the user pressing the randomize button.
Desmos, (削除) 80 (削除ここまで) 70 bytes
b=random(1,t)\tau
f(r,s,t)=(normaldist(r,s).random(1,t)(cosb,sinb))[1]
Takes an extra argument t as the seed, which is the only way to re-use the function to get different samples without pressing the randomize button.
-10 bytes thanks to Aiden Chow
All functions in Desmos are pure, so they can't return a different value when evaluated at different times, even in a list comprehension. This causes an issue with the CGSE policy of functions being re-usable.
There's a randomize button to re-seed all of the random seed-dependent function calls: Randomize. This doesn't vibe with me because it requires user interaction to re-seed, but it would allow the following 55-byte submission:
b=random()\tau
f(r,s)=(cosb,sinb)normaldist(r,s).random
In this submission, I opted to take the random seed as an extra argument, which is a common design decision in Desmos if a program needs to avoid user action when re-seeding. This is the only way to get different outputs from random functions without the user pressing the randomize button.
Desmos, (削除) 80 (削除ここまで) 70 bytes
b=random(1,t)\tauτ
f(r,s,t)=(normaldist(r,s).random(1,t)(cosb,sinb))[1]
Takes an extra argument t as the seed, which is the only way to re-use the function to get different samples without pressing the randomize button.
-10 bytes thanks to Aiden Chow
All functions in Desmos are pure, so they can't return a different value when evaluated at different times, even in a list comprehension. This causes an issue with the CGSE policy of functions being re-usable.
There's a randomize button to re-seed all of the random seed-dependent function calls: Randomize. This doesn't vibe with me because it requires user interaction to re-seed, but it would allow the following 55-byte submission:
b=random()\tau
f(r,s)=(cosb,sinb)normaldist(r,s).random
In this submission, I opted to take the random seed as an extra argument, which is a common design decision in Desmos if a program needs to avoid user action when re-seeding. This is the only way to get different outputs from random functions without the user pressing the randomize button.
Desmos, (削除) 80 (削除ここまで) 70 bytes
b=random(1,t)\tau
f(r,s,t)=(normaldist(r,s).random(1,t)(cosb,sinb))[1]
Takes an extra argument t as the seed, which is the only way to re-use the function to get different samples without pressing the randomize button.
-10 bytes thanks to Aiden Chow
All functions in Desmos are pure, so they can't return a different value when evaluated at different times, even in a list comprehension. This causes an issue with the CGSE policy of functions being re-usable.
There's a randomize button to re-seed all of the random seed-dependent function calls: Randomize. This doesn't vibe with me because it requires user interaction to re-seed, but it would allow the following 55-byte submission:
b=random()\tau
f(r,s)=(cosb,sinb)normaldist(r,s).random
In this submission, I opted to take the random seed as an extra argument, which is a common design decision in Desmos if a program needs to avoid user action when re-seeding. This is the only way to get different outputs from random functions without the user pressing the randomize button.
Desmos, (削除) 80 (削除ここまで) 70 bytes
b=random(1,t)τ
f(r,s,t)=(normaldist(r,s).random(1,t)(cosb,sinb))[1]
Takes an extra argument t as the seed, which is the only way to re-use the function to get different samples without pressing the randomize button.
-10 bytes thanks to Aiden Chow
All functions in Desmos are pure, so they can't return a different value when evaluated at different times, even in a list comprehension. This causes an issue with the CGSE policy of functions being re-usable.
There's a randomize button to re-seed all of the random seed-dependent function calls: Randomize. This doesn't vibe with me because it requires user interaction to re-seed, but it would allow the following 55-byte submission:
b=random()\tau
f(r,s)=(cosb,sinb)normaldist(r,s).random
In this submission, I opted to take the random seed as an extra argument, which is a common design decision in Desmos if a program needs to avoid user action when re-seeding. This is the only way to get different outputs from random functions without the user pressing the randomize button.