@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
23 lines (22 loc) • 1.09 kB
TypeScript
/**
* repeats an SDF in polar coordinates, allowing fractal effects
*
* @remarks
*
* based on [https://iquilezles.org/articles/distfunctions/](https://iquilezles.org/articles/distfunctions/)
*/
import { BaseSDFGlNode } from './_BaseSDF';
import { NodeParamsConfig } from '../utils/params/ParamsConfig';
import { ShadersCollectionController } from './code/utils/ShadersCollectionController';
declare class SDFRepeatPolarGlParamsConfig extends NodeParamsConfig {
position: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>;
center: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>;
periodLon: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>;
}
export declare class SDFRepeatPolarGlNode extends BaseSDFGlNode<SDFRepeatPolarGlParamsConfig> {
paramsConfig: SDFRepeatPolarGlParamsConfig;
static type(): string;
initializeNode(): void;
setLines(shadersCollectionController: ShadersCollectionController): void;
}
export {};