up [pdf]
from rsf.proj import *

Flow('sin',None,'math n1=101 d1=1 output="sin(x1*0.1)" ')

Flow('mask','sin','noise seed=2005 | mask min=0.5')

Flow('holes','sin mask','transp | headercut mask=${SOURCES[1]} | window')

Plot('sin','dots clip=1 dots=0 strings=n label1="x" ')

Plot('holes','dots clip=1 dots=2 connect=0 overlap=0.1 radius=0.1 label1="x" ')

Result('dots','sin holes','Overlay')

End()

sfmath
sfnoise
sfmask
sftransp
sfheadercut
sfwindow
sfdots