Files
lupin-demo/public/demo2.json
2026-01-28 16:45:27 +08:00

342 lines
6.8 KiB
JSON

{
"name": "demo2",
"description": "luopan demo2 config with named color palettes",
"background": "#000000",
"strokeWidth": 1,
"strokeOpacity": 1,
"strokeColor": "白",
"insetDistance": 1,
"outerRadius": 500,
"themeRef": "五行弱",
"layers": [
{
"type": "centerIcon",
"centerIcon": {
"rIcon": 50,
"opacity": 0.8,
"name": "centericon.svg"
}
},
{
"divisions": 2,
"rInner": 60,
"rOuter": 90,
"startAngle": 0,
"sectors": [
{
"content": "阴",
"colorRef": "黑",
"innerFill": 1
},
{
"content": "阳",
"colorRef": "白",
"innerFill": 0
}
]
},
{
"divisions": 8,
"rInner": 120,
"rOuter": 160,
"startAngle": 0,
"sectors": [
{
"content": "乾",
"innerFill": 1
},
{
"content": "兑",
"innerFill": 0
},
{
"content": "离",
"innerFill": 1
},
{
"content": "震",
"innerFill": 0
},
{
"content": "巽",
"innerFill": 1
},
{
"content": "坎",
"innerFill": 0
},
{
"content": "艮",
"innerFill": 1
},
{
"content": "坤",
"innerFill": 0
}
]
},
{
"divisions": 12,
"rInner": 160,
"rOuter": 200,
"startAngle": 0,
"colorRef": "土",
"innerFill": 1,
"num": 3,
"interval": 1,
"sectors": [
{
"content": "子",
"colorRef": "水",
"innerFill": 1
},
{
"content": "丑"
},
{
"content": "寅",
"colorRef": "木",
"innerFill": 0
},
{
"content": "卯",
"colorRef": "木",
"innerFill": 1
},
{
"content": "辰"
},
{
"content": "巳",
"colorRef": "火",
"innerFill": 1
},
{
"content": "午",
"colorRef": "火",
"innerFill": 0
},
{
"content": "未",
"innerFill": 1
},
{
"content": "申",
"colorRef": "金",
"innerFill": 0
},
{
"content": "酉",
"colorRef": "金",
"innerFill": 1
},
{
"content": "戌"
},
{
"content": "亥",
"innerFill": 0
}
]
},
{
"divisions": 24,
"rInner": 210,
"rOuter": 240,
"startAngle": 0,
"sectors": [
{
"content": "甲乙|子|丙丁",
"colorRef": "木",
"innerFill": 1
},
{
"content": "丑"
},
{
"content": "戊己|寅|庚辛",
"colorRef": "土",
"innerFill": 0
},
{
"content": "卯"
},
{
"content": "壬癸|辰|甲乙",
"innerFill": 1
},
{
"content": "巳"
},
{
"content": "丙丁|午|戊己",
"colorRef": "火",
"innerFill": 0
},
{
"content": "未"
},
{
"content": "庚辛|申|壬癸",
"colorRef": "金",
"innerFill": 1
},
{
"content": "酉"
},
{
"content": "甲乙|戌|丙丁",
"innerFill": 0
},
{
"content": "亥"
},
{
"content": "戊己|子|庚辛"
},
{
"content": "丑"
},
{
"content": "壬癸|寅|甲乙"
},
{
"content": "卯"
},
{
"content": "丙丁|辰|戊己"
},
{
"content": "巳"
},
{
"content": "庚辛|午|壬癸"
},
{
"content": "未"
},
{
"content": "甲乙|申|丙丁"
},
{
"content": "酉"
},
{
"content": "戊己|戌|庚辛"
},
{
"content": "亥"
}
]
},
{
"divisions": 16,
"rInner": 240,
"rOuter": 270,
"startAngle": 0,
"sectors": [
{
"content": "甲乙|丙丁|戊己|庚辛",
"colorRef": "木",
"innerFill": 1
},
{
"content": "壬癸|甲乙|丙丁|戊己",
"colorRef": "土",
"innerFill": 0
},
{
"content": "庚辛|壬癸|甲乙|丙丁",
"innerFill": 1
},
{
"content": "戊己|庚辛|壬癸|甲乙",
"colorRef": "火",
"innerFill": 0
},
{
"content": "丙丁|戊己|庚辛|壬癸",
"colorRef": "金",
"innerFill": 1
},
{
"content": "子丑|寅卯|辰巳|午未",
"innerFill": 0
},
{
"content": "申酉|戌亥|子丑|寅卯",
"colorRef": "木",
"innerFill": 1
},
{
"content": "辰巳|午未|申酉|戌亥",
"colorRef": "水",
"innerFill": 0
},
{
"content": "甲乙|丙丁|戊己|庚辛",
"innerFill": 1
},
{
"content": "壬癸|甲乙|丙丁|戊己",
"colorRef": "土",
"innerFill": 0
},
{
"content": "庚辛|壬癸|甲乙|丙丁",
"colorRef": "木",
"innerFill": 1
},
{
"content": "戊己|庚辛|壬癸|甲乙",
"innerFill": 0
},
{
"content": "丙丁|戊己|庚辛|壬癸",
"colorRef": "火",
"innerFill": 1
},
{
"content": "子丑|寅卯|辰巳|午未",
"colorRef": "金",
"innerFill": 0
},
{
"content": "申酉|戌亥|子丑|寅卯",
"innerFill": 1
},
{
"content": "辰巳|午未|申酉|戌亥",
"colorRef": "水",
"innerFill": 0
}
]
},
{
"divisions": 120,
"rInner": 300,
"rOuter": 310,
"startAngle": -4.5,
"innerFill": 0,
"colorRef": "火",
"num": 4,
"interval": 1,
"groupSplit": false
},
{
"type": "degreeRing",
"rInner": 450,
"rOuter": 500,
"showDegree": 1,
"mode": "both",
"opacity": 0.3,
"tickLength": 6,
"majorTick": 10,
"minorTick": 5,
"microTick": 1,
"tickColor": "#ffffff",
"ringColor": "#ffffff"
}
]
}