Divooka Reference

Map Point

4 nodes

On this page 4

Make Map Point

Function

A pixel of a rendered view.

Signature
MapPoint(x: Number, y: Number, visible: Truth) -> Map Point
MapPoint MapPoint(double x, double y, bool visible)

Parameters

nametypedefaultdescription
xNumber—Pixels from the left edge.
yNumber—Pixels from the top edge.
visibleTruth—Whether the point falls on the planet in this view; a point on the far side of a globe does not.

Returns

resultMap Point
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Map Point
Package
Fantasy Planet Painter

Visible

Function

Whether the point falls on the planet in this view; a point on the far side of a globe does not.

Signature
Visible(Map Point: Map Point) -> Truth
bool Visible(MapPoint Map Point)

Parameters

nametypedefaultdescription
Map PointMap Point—

Returns

resultTruth
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Map Point
Package
Fantasy Planet Painter

X

Function

Pixels from the left edge.

Signature
X(Map Point: Map Point) -> Number
double X(MapPoint Map Point)

Parameters

nametypedefaultdescription
Map PointMap Point—

Returns

resultNumber
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Map Point
Package
Fantasy Planet Painter

Y

Function

Pixels from the top edge.

Signature
Y(Map Point: Map Point) -> Number
double Y(MapPoint Map Point)

Parameters

nametypedefaultdescription
Map PointMap Point—

Returns

resultNumber
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Map Point
Package
Fantasy Planet Painter