Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/caviar/src/utils/mod.ts>PerlinNoise

⚡ Blazing fast, modern, Game Engine powered by WebGPU for Deno and the browser
Go to Latest
class PerlinNoise
extends Plugin
import { PerlinNoise } from "https://deno.land/x/caviar@2.3.1/src/utils/mod.ts";

Constructors

new
PerlinNoise(world: World)

Properties

gradP: any
perm: any

Methods

perlin2(x: number, y: number)
perlin3(
x: number,
y: number,
z: number,
): number
setSeed(seed: number): void
simplex2(xin: number, yin: number)
simplex3(
xin: number,
yin: number,
zin: number,
)