<!--
SVG v105 introduced artifacts around font when rendering textGeometry.
Dot vs cross product
Cross product always returns you an arrow/vector. The return vector will always be perpendicular to the two arrows. it mattesr which of the two arrows goes first.
Dot product always returns a number. If you have two normalized vector, it'll return you a normalized value between 0-1. It can also be negative if one of the vector is negative. It doesn't matter which arrows goes first or second, you'll get the same value.
If the two vectors are not normalized, you may get odd results.
-->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/build/three.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/examples/js/controls/OrbitControls.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/examples/js/renderers/SVGRenderer.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/examples/js/renderers/Projector.js"></script>
<div class="no-break">
<button onClick="takeShot()" class="btn">capture with current render</button>
<button onClick="takeShot(true)" class="btn">capture as SVG</button>
</div>
<div class="no-break-2">
<button onClick="toggleRendererSwap()" class="btn">swapRenderer</button>
<button onClick="toggleCamera()" class="btn">swapCamera</button>
</div>
<div id="ui-display" class="ui-display">Active Render: SVG</div>