Skip to content Search Apps Documentation Source Content File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

art3d2 source pure

Variables 3

var MetalNames

1var MetalNames = []string{"Gold", "Silver", "Bronze", "Platinum", "Obsidian"}
source

var PearlShapeNames

1var PearlShapeNames = []string{"Round", "Oval", "Button", "Drop", "Baroque", "Circled"}
source

var ShapeNames

1var ShapeNames = []string{
2	"Round Brilliant", "Oval", "Cushion", "Emerald Cut", "Asscher",
3	"Radiant", "Princess Cut", "Pear", "Marquise", "Trillion",
4	"Heart", "Rose Cut", "Raw Crystal",
5}
source

Functions 16

func RenderTokenSVG

1func RenderTokenSVG(chain, metal string, shapeIdx, colorIdx int, active bool, tidStr string) (svg string, stone string, colorHex string, colorName string)
source

func RenderTokenThumbSVG

1func RenderTokenThumbSVG(chain, metal string, shapeIdx, colorIdx int, active bool, tidStr string) string
source

Dependencies

Imports 4

/p/g1wx60nkcp5lfsxmedeg7sfs47tzxkath05u63t4/art3d2

Source Files 2