coinop-logan/nym/2.2.1

Nym

Blarg.

uintToRenderedNym : BigInt -> Entity ()

Turn uint Nym NFT id into a rendered Scene3d.Entity ()

type alias Nym =
Nym

A Physical structure and coloring of a particular Nym.

renderNym : Nym -> Entity ()

Given a Nym, render an Entity.

renderNymTemplate : Bool -> NymTemplate -> Entity ()

Given a NymTemplate, render an Entity

type alias EyeQuadAndPupil2d =
{ pupil : Pupil2d
, eyeQuad : EyeQuad2d
}

temp

type alias Pupil2d =
List ( Vector2, Vector2, Vector2 )

temp

type alias EyeQuad2d =
{ bottomRight : Vector2
, bottomLeft : Vector2
, topLeft : Vector2
, topRight : Vector2
}

temp

binarySourceToNymTemplateResult : BinarySource -> Result ( NymTemplate, GenError ) Nym

Given a BinarySource, build a NymTemplate, but return a result

binarySourceToNymTemplate : BinarySource -> ( String, ( Int, List Int ), NymTemplate )

Given a BinarySource, build a NymTemplate