Class Gallery

It's just an encapsuled class for maku.js, which is a powerful bridge between HTML and WebGL.

Demo: https://kokomi-playground.vercel.app/entries/#imageMouseWave

Hierarchy (view full)

Constructors

Properties

base: Base
container: Scene
elList: HTMLIVCElement[]
emitter: Emitter<any>
fragmentShader: string
isRectAutoRefreshed: boolean
isScrollPositionSync: boolean
makuConfig: MakuConfig
makuGroup: null | MakuGroup
makuMaterial: null | ShaderMaterial
materialParams: AllMaterialParams
scroller: null | Scroller
uniformInjector: UniformInjector
uniforms: {
    [uniform: string]: THREE.IUniform<any>;
}
useSelfScroller: boolean
vertexShader: string

Methods

  • Parameters

    • cb: ((maku: Maku, i: number) => void)
        • (maku, i): void
        • Parameters

          • maku: Maku
          • i: number

          Returns void

    Returns void