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

art3d 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

Imports 4

Source Files 2