This shows you the differences between two versions of the page.
gp:laboratoare:02 [2025/03/11 17:20] maria_anca.balutoiu [Tasks] |
gp:laboratoare:02 [2025/03/14 15:53] (current) maria_anca.balutoiu [Implementare] |
||
---|---|---|---|
Line 77: | Line 77: | ||
<code> | <code> | ||
def getConstantVector(v): | def getConstantVector(v): | ||
- | h = v % 3 | + | h = v % 4 |
if h == 0: | if h == 0: | ||
Line 123: | Line 123: | ||
<note tip>În Unity C# există funcția **float Mathf.PerlinNoise(float x, float y)**</note> | <note tip>În Unity C# există funcția **float Mathf.PerlinNoise(float x, float y)**</note> | ||
+ | |||
+ | ==== Resurse ==== | ||
+ | * [[https://www.youtube.com/watch?v=9B89kwHvTN4]] | ||
+ | * [[https://rtouti.github.io/graphics/perlin-noise-algorithm]] | ||
+ | * [[https://www.youtube.com/watch?v=vFvwyu_ZKfU]] |