Subscribed unsubscribe Subscribe Subscribe

ghPython error : no module named perlin

nature of code

rhino+gh
ghpython component

NOC Python Grasshopper: 06 2d Perlin Noise - YouTube

import rhinoscriptsyntax as rs
import perlin

sn = perlin.SimplexNoise()

pList = []

for i in range(x):
    for j in range(y):
        perVal = sn.noise2(i*scaleX,j*scaleY)
        point = rs.AddPoint(i,j,perVal)   
        pList.append(point) 
     
a = pList

error message: no module named perlin

add perlin.py

C:\Users\xxx\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (xxx)\settings\lib