JSFiddle - React, Tailwind, and code Playground

by joepenzo

HTML

<script src="https://cdn.jsdelivr.net/npm/[email protected]/jquery.lazylinepainter-1.7.0.min.js"></script>
<div id="logo"></div>

JavaScript

/* 
 * Lazy Line Painter - Path Object 
 * Generated using 'SVG to Lazy Line Converter'
 * 
 * http://lazylinepainter.info 
 * Copyright 2013, Cam O'Connell  
 *  
 */ 
 
var pathObj = {
    "logo": {
        "strokepath": [
            {
                "path": "M 24.7 53.6 L 38 53.6",
                "duration": 300
            },
            {
                "path": "M 25.5 43.9 L 36.8 48.4",
                "duration": 300
            },
            {
                "path": "M 30.5 34.4 L 40.2 44",
                "duration": 300
            },
            {
                "path": "M 37.9 28.3 L 43.8 40.8",
                "duration": 300
            },
            {
                "path": "M 49.6 25.4 L 49.6 37.2",
                "duration": 300
            },
            {
                "path": "M 61.2 28.2 L 55.4 40.6",
                "duration": 300
            },
            {
                "path": "M 68.6 34.1 L 59 43.9",
                "duration": 300
            },
            {
                "path": "M 73.8 43.7 L 62.4 48.4",
                "duration": 300
            },
            {
                "path": "M 74.7 53.6 L 61.3 53.6",
                "duration": 300
            },
            {
                "path": "M 33 69.3 L 66.3 69.3",
                "duration": 300
            },
            {
                "path": "M25.5,58.2c1,0.4,1.3,1.5,2.7,1.5c1.8,0,1.8-1.7,3.6-1.7c1.8,0,1.8,1.7,3.6,1.7c1.8,0,1.8-1.7,3.6-1.7  c1.8,0,1.8,1.7,3.6,1.7c1.8,0,1.8-1.7,3.6-1.7c1.8,0,1.8,1.7,3.6,1.7c1.8,0,1.8-1.7,3.6-1.7c1.8,0,1.8,1.7,3.6,1.7  c1.8,0,1.8-1.7,3.6-1.7c1.8,0,1.8,1.7,3.6,1.7c1.8,0,1.8-1.7,3.6-1.7c1.8,0,1.8,1.7,3.6,1.7c1.4,0,1.7-1,2.6-1.5",
                "duration": 300
            },
            {
                "path": "M28.7,64.4c0.3,0.3,0.7,0.5,1.3,0.5c1.6,0,1.6-1.6,3.3-1.6c1.6,0,1.6,1.6,3.3,1.6c1.6,0,1.6-1.6,3.3-1.6 ...