coinop-logan / nym / Nym

Blarg.

uintToRenderedNym : BigInt -> Scene3d.Entity ()

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


type alias Nym =
Types.Nym

A Physical structure and coloring of a particular Nym.

renderNym : Nym -> Scene3d.Entity ()

Given a Nym, render an Entity.

renderNymTemplate : Basics.Bool -> Types.NymTemplate -> Scene3d.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 ( Types.NymTemplate, Types.GenError ) Nym

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

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

Given a BinarySource, build a NymTemplate