Skip to content

This vjass library is for working with two-dimensional perlin noise

License

Notifications You must be signed in to change notification settings

Vlod-github/Perlin-noise-cjass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Perlin noise

noise.mp4

This vjass library is for working with two-dimensional perlin noise. Some methods contain TriggerSleepAction() interrupts to protect against thread breakage. Depends on the LibReal2D library.

API

// Create noise. seed = -1 for random
Perlin per = Perlin.create(integer octaves, integer seed)

// Delete an object
per.destroy()

// Reinitialize noise
per.reinit(integer seed)

// Get the value at the point
per.get(real x, real y) // x,y in the range [0,1]

// Get an array filled with noise
Real2D map = per.fill(Real2D.create(integer length, integer width))

Why is this necessary?

1.mp4
2.mp4
3.mp4
4.mp4

About

This vjass library is for working with two-dimensional perlin noise

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages