Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. #@gui Fingerprint: fx_fingerprint, fx_fingerprint_preview(1)
  2. #@gui : Recompute = button()
  3. #@gui : sep = separator(), note = note("Poisson-Disk Noise")
  4. #@gui : Radius = float(75,1,1000)
  5. #@gui : Max sampling attempts = int(30,1,200)
  6. #@gui : sep = separator(), note = note("Edge Offsets")
  7. #@gui : Smoothness = float(0,0,10)
  8. #@gui : Threshold = float(15,0,50)
  9. #@gui : Scale = int(4,0,32)
  10. #@gui : Thickness = int(1,0,16)
  11. #@gui : Negative colors = bool(0)
  12. #@gui : sep = separator(), note = note("Deform")
  13. #@gui : note = note("<small>Set matrix size to 0 for automatic size</small>")
  14. #@gui : Strength = float(2,0,10)
  15. #@gui : Interpolation = choice("none","bilinear","bicubic")
  16. #@gui : Matrix size &#40;&#37;&#41; = float(1,1,100)
  17. #@gui : Matrix interpolation &#40;&#37;&#41; = choice(1,"bilinear","bicubic")
  18. fx_fingerprint :
  19. to_rgb fc 0,0,0
  20. ms=0 if {$11==1} ms={0.375*max(w,h)/($2^0.375)} else ms=$11 fi
  21. z {-$9},{-$9},{w+$9},{h+$9}
  22. noise_poissondisk $2,$3 fx_edge_offsets $4,$5,$6,$7,$8
  23. deform $9,$10,$ms,$12
  24. z {$9},{$9},{w-$9},{h-$9}
  25. fx_fingerprint_preview :
  26. fx_fingerprint $*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement