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: "O", type: "Free", pos: [ 0.0, -0.0, 4.0 ], color: [ 1.0, 0.0, 0.0 ], labeled: true }, 
		{ name: "B", type: "Free", pos: [ 4.0, -0.0, 0.23529411764705882 ], color: [ 0.0, 0.0, 0.0 ], visible: false, labeled: true, size: 4.0 }, 
		{ name: "a", type: "Join", color: [ 0.0, 0.0, 0.0 ], args: [ "O", "B" ] }, 
		{ name: "A", type: "PointOnLine", pos: [ 3.0567394957983214, -0.0, 4.0 ], color: [ 1.0, 1.0, 0.0 ], args: [ "a" ], labeled: true, size: 6.0 }, 
		{ name: "b", type: "Orthogonal", color: [ 0.0, 0.0, 0.0 ], args: [ "a", "O" ] }, 
		{ name: "y=1", type: "PointOnLine", pos: [ 0.0, -4.0, -4.0 ], color: [ 0.0, 0.0, 0.0 ], args: [ "b" ], labeled: true, size: 4.0 }, 
		{ name: "x=-1", type: "PointOnLine", pos: [ 4.0, -0.0, -4.0 ], color: [ 0.0, 0.0, 0.0 ], args: [ "a" ], labeled: true, size: 4.0 }, 
		{ name: "E", type: "Mid", color: [ 0.0, 0.0, 0.0 ], args: [ "x=-1", "A" ], visible: false, labeled: true, size: 4.0 }, 
		{ name: "C0", type: "CircleMP", color: [ 0.0, 0.0, 1.0 ], args: [ "E", "A" ], visible: false, printname: "$C_{0}$" }, 
		{ name: "Collection__1", type: "IntersectionConicLine", args: [ "C0", "b" ] }, 
		{ name: "F", type: "SelectP", pos: [ 0.0, -3.4967067339417075, 4.0 ], color: [ 0.0, 0.0, 0.0 ], args: [ "Collection__1" ], visible: false, labeled: true, size: 4.0 }, 
		{ name: "Collection__2", type: "AngularBisector", args: [ "a", "b", "O" ] }, 
		{ name: "c", type: "SelectL", pos: [ 3.999999999999999, -4.0, 0.0 ], color: [ 0.0, 0.0, 0.0 ], args: [ "Collection__2" ], visible: false, dashtype: "dashdot" }, 
		{ name: "C2", type: "CircleMP", color: [ 0.0, 0.0, 1.0 ], args: [ "O", "F" ], visible: false, printname: "$C_{2}$" }, 
		{ name: "Collection__3", type: "IntersectionConicLine",...