Liking cljdoc? Tell your friends :D

artlib.acceleration.core


ContourHelpercljprotocol

ContourHelper provides utilities for computing contour lines using a marching squares algorithm, based on on ContourPy.

See: https://contourpy.readthedocs.io/en/latest/config.html

ContourHelper provides utilities for computing contour lines using a marching squares 
  algorithm, based on on ContourPy.

See: https://contourpy.readthedocs.io/en/latest/config.html

compute-contour-linesclj

(compute-contour-lines this heightmap threshold)

Given a heightmap, returns the contour lines at the specified threshold as a seq of line segments. If threshold is sequential (vec or seq), then returns a seq of seq of line segments in the same order.

Given a heightmap, returns the contour lines at the specified threshold as a seq of 
line segments. If threshold is sequential (vec or seq), then returns a seq of seq
of line segments in the same order.
raw docstring

HardwareAccelerationcljprotocol

This protocol is implemented to provide hardware acceleration.

This protocol is implemented to provide hardware acceleration.

infoclj

(info this)

Returns information for debugging.

Returns information for debugging.
raw docstring

HardwareAccelerationProvidercljprotocol

This protocol is implemented to provide access to hardware acceleration algorithms.

This protocol is implemented to provide access to hardware acceleration algorithms.

createclj

(create this)
(create this opts)

Creates the provider. Opts are a provider-specific map.

Creates the provider. Opts are a provider-specific map.

nameclj

(name this)

Returns the name of the the provider.

Returns the name of the the provider.
raw docstring

NoiseHelpercljprotocol

NoiseHelper provides utilities for computing noise functions.

NoiseHelper provides utilities for computing noise functions.

noise2clj

(noise2 this resolution opts)

Compute 2D noise and return a vec of values. The parameters are as follows: resolution [x y] - the size of the generated noise image in pixels opts { [x y] :scale [x y] :offset } - noise generation options scale [x y] - the scale of the noise, default is [1.0 1.0] offset [x y] - the noise offset, default is [0.0 0.0]

Compute 2D noise and return a vec of values. The parameters are as follows:
resolution [x y] - the size of the generated noise image in pixels
opts { [x y] :scale [x y] :offset } - noise generation options
scale [x y] - the scale of the noise, default is [1.0 1.0]
offset [x y] - the noise offset, default is [0.0 0.0]

noised2clj

(noised2 this resolution opts)

Compute 2D noise and and its analytical derrivative, returning a seq. See noise2 for parameter documentation. The resulting seq is packed [value-1 derrivative-x-1 derrivative-y-1 ... value-n derrivative-x-n derrivative-y-n

Compute 2D noise and and its analytical derrivative, returning a seq. See `noise2` for parameter documentation. The
resulting seq is packed [value-1 derrivative-x-1 derrivative-y-1 ... value-n derrivative-x-n derrivative-y-n
raw docstring

providersclj

(providers)

Get all hardware acceleration providers

Get all hardware acceleration providers
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close