JSFiddle - React, Tailwind, and code Playground

by WernerSalomon

HTML

<script src="https://cindyjs.org/dist/v0.8.7/Cindy.js"></script>
<div id="CSCanvas"></div>

<script>
  CindyJS({ 
	scripts: "cs*", 
	defaultAppearance: { fontFamily: "sans-serif", lineSize: 1, pointSize: 5.0, textsize: 12.0 }, 
	angleUnit: "°", 
	geometry: [ 
		{ name: "A", type: "Free", pos: [ 4.0, -1.8461538461538458, -3.846153846153846 ], color: [ 1.0, 0.0, 0.0 ], labeled: true }, 
		{ name: "B", type: "Free", pos: [ 4.0, 0.48, 1.0 ], color: [ 1.0, 0.0, 0.0 ], labeled: true }, 
		{ name: "a", type: "Join", color: [ 0.0, 0.0, 1.0 ], args: [ "A", "B" ], clip: "inci" }, 
		{ name: "b", type: "Orthogonal", color: [ 0.0, 0.0, 1.0 ], args: [ "a", "B" ], clip: "inci" }, 
		{ name: "C0", type: "CircleMP", color: [ 0.0, 0.0, 1.0 ], args: [ "B", "A" ], alpha: 0.1794871794871795, printname: "$C_{0}$" }, 
		{ name: "Collection__1", type: "IntersectionConicLine", args: [ "C0", "b" ] }, 
		{ name: "C", type: "SelectP", pos: [ -2.8985507246376816, -4.0, -0.7246376811594204 ], color: [ 1.0, 0.0, 0.0 ], args: [ "Collection__1" ], labeled: true }, 
		{ name: "c", type: "Parallel", color: [ 0.0, 0.0, 1.0 ], args: [ "a", "C" ], clip: "inci" }, 
		{ name: "d", type: "Orthogonal", color: [ 0.0, 0.0, 1.0 ], args: [ "a", "A" ], clip: "inci" }, 
		{ name: "D", type: "Meet", color: [ 1.0, 0.0, 0.0 ], args: [ "c", "d" ], labeled: true }, 
		{ name: "E", type: "PointOnLine", pos: [ 4.0, 1.7523809523809524, 0.3174603174603175 ], color: [ 1.0, 0.0, 0.0 ], args: [ "c" ], labeled: true }, 
		{ name: "e", type: "Join", color: [ 0.0, 0.0, 1.0 ], args: [ "B", "E" ], alpha: 0.26495726495726496, clip: "inci" }, 
		{ name: "f", type: "Orthogonal", color: [ 0.0, 0.0, 1.0 ], args: [ "e", "B" ], alpha: 0.3076923076923077, clip: "inci" }, 
		{ name: "M", type: "Meet", color: [ 1.0, 0.0, 0.0 ], args: [ "c", "f" ], alpha: 0.3162393162393162, size: 4.0 }, 
		{ name: "C1", type: "CircleMP", color: [ 0.0, 0.0, 1.0 ], args: [ "C", "M" ], alpha: 0.28205128205128205, printname: "$C_{1}$" }, 
		{ name:...