Divooka Reference

Flipbook

5 nodes

On this page 5

Make Flipbook

Function

Overload 1 of 2

Signature
Flipbook() -> Flipbook
Flipbook Flipbook()

A flipbook with no frames yet.

Returns

resultFlipbook

Overload 2 of 2

Signature
Flipbook(images: Pixel Image Array, FPS: Integer) -> Flipbook
Flipbook Flipbook(PixelImage[] images, int fps)

A flipbook of these pictures, played at this rate.

Parameters

nametypedefaultdescription
imagesPixel Image Array—The frames' pictures, in order.
FPSInteger—Frames a second: 24 for film, 30 or 60 for screens.

Returns

resultFlipbook
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Flipbook
Package
Flipbooks

FPS

Function

Frames a second.

Signature
FPS(Flipbook: Flipbook) -> Integer
int FPS(Flipbook Flipbook)

Parameters

nametypedefaultdescription
FlipbookFlipbook—

Returns

resultInteger
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Flipbook
Package
Flipbooks

Frames

Function

How many frames there are.

Signature
Frames(Flipbook: Flipbook) -> Integer
int Frames(Flipbook Flipbook)

Parameters

nametypedefaultdescription
FlipbookFlipbook—

Returns

resultInteger
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Flipbook
Package
Flipbooks

Images

Function

The frames' pictures, in order.

Signature
Images(Flipbook: Flipbook) -> Pixel Image Array
PixelImage[] Images(Flipbook Flipbook)

Parameters

nametypedefaultdescription
FlipbookFlipbook—

Returns

resultPixel Image Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Flipbook
Package
Flipbooks

Get Image

Function

One frame's picture; none past the last frame.

Signature
GetImage -> I Pixel Image Sampler
    Flipbook: Flipbook
    frameNumber: Integer
IPixelImageSampler GetImage(Flipbook Flipbook, int frameNumber)

Parameters

nametypedefaultdescription
FlipbookFlipbook—
frameNumberInteger—Which frame, counting from 0.

Returns

ImageI Pixel Image Sampler
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Flipbook
Package
Flipbooks