Last active
          August 15, 2017 03:10 
        
      - 
      
 - 
        
Save colingourlay/4e7a5fd9db0596f04cb83f0159c88c4b to your computer and use it in GitHub Desktop.  
    ABC lissajous spinner
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <svg width="380" height="280" viewBox="0 0 380 280" xmlns="http://www.w3.org/2000/svg"> | |
| <defs> | |
| <style> | |
| @keyframes ants { | |
| 100% { | |
| stroke-dashoffset: 0; | |
| } | |
| } | |
| .lissajous { | |
| stroke: #1C1C1C; | |
| stroke-width: 62; | |
| stroke-linejoin: round; | |
| fill: none; | |
| } | |
| .ants { | |
| stroke: #363636; | |
| stroke-width: 21; | |
| stroke-linecap: round; | |
| stroke-linejoin: round; | |
| stroke-dasharray: 148,49; | |
| stroke-dashoffset: 1577; | |
| fill: none; | |
| animation: ants 10s linear infinite; | |
| } | |
| </style> | |
| <mask x="0" y="0" width="400" height="280" maskUnits="userSpaceOnUse" id="mask-lissajous"> | |
| <rect fill="#fff" stroke="none" width="400" height="280"></rect> | |
| <path stroke="#000" stroke-width="78" fill="none" d="M297,237L289,228L285,217L281,204L276,189L271,174L266,157L261,140L256,123L251,106L245,91L239,76L234,63L228,52"></path> | |
| <path stroke="#fff" stroke-width="62" fill="none" d="M345,140L345,157L345,174L345,189L345,204L345,217L345,228L341,237L335,244L329,248L322,249L314,248L306,244L297,237L289,228L285,217L281,204L276,189L271,174L266,157L261,140L256,123L251,106L245,91L239,76L234,63L228,52L222,43"></path> | |
| <path stroke="#000" stroke-width="78" fill="none" d="M83,43L91,52L95,63L99,76L104,91L109,106L114,123L119,140L124,157L129,174L135,189L141,204L146,217L152,228"></path> | |
| <path stroke="#fff" stroke-width="62" fill="none" d="M35,140L35,123L35,106L35,91L35,76L35,63L35,52L39,43L45,36L51,32L58,31L66,32L74,36L83,43L91,52L95,63L99,76L104,91L109,106L114,123L119,140L124,157L129,174L135,189L141,204L146,217L152,228L158,237"></path> | |
| </mask> | |
| <mask x="0" y="0" width="380" height="280" maskUnits="userSpaceOnUse" id="mask-ants"> | |
| <rect fill="#fff" stroke="none" width="380" height="280"></rect> | |
| <path stroke="#000" stroke-width="78" fill="none" d="M297,237L289,228L285,217L281,204L276,189L271,174L266,157L261,140L256,123L251,106L245,91L239,76L234,63L228,52"></path> | |
| <path stroke="#fff" stroke-width="21" fill="none" d="M345,140L345,157L345,174L345,189L345,204L345,217L345,228L341,237L335,244L329,248L322,249L314,248L306,244L297,237L289,228L285,217L281,204L276,189L271,174L266,157L261,140L256,123L251,106L245,91L239,76L234,63L228,52L222,43"></path> | |
| <path stroke="#000" stroke-width="78" fill="none" d="M83,43L91,52L95,63L99,76L104,91L109,106L114,123L119,140L124,157L129,174L135,189L141,204L146,217L152,228"></path> | |
| <path stroke="#fff" stroke-width="21" fill="none" d="M35,140L35,123L35,106L35,91L35,76L35,63L35,52L39,43L45,36L51,32L58,31L66,32L74,36L83,43L91,52L95,63L99,76L104,91L109,106L114,123L119,140L124,157L129,174L135,189L141,204L146,217L152,228L158,237"></path> | |
| </mask> | |
| </defs> | |
| <path class="lissajous" mask="url(#mask-lissajous)" d="M345,140L345,157L345,174L345,189L345,204L345,217L345,228L341,237L335,244L329,248L322,249L314,248L306,244L297,237L289,228L285,217L281,204L276,189L271,174L266,157L261,140L256,123L251,106L245,91L239,76L234,63L228,52L222,43L212,36L201,32L190,31L179,32L168,36L158,43L152,52L146,63L141,76L135,91L129,106L124,123L119,140L114,157L109,174L104,189L99,204L95,217L91,228L83,237L74,244L66,248L58,249L51,248L45,244L39,237L35,228L35,217L35,204L35,189L35,174L35,157L35,140L35,123L35,106L35,91L35,76L35,63L35,52L39,43L45,36L51,32L58,31L66,32L74,36L83,43L91,52L95,63L99,76L104,91L109,106L114,123L119,140L124,157L129,174L135,189L141,204L146,217L152,228L158,237L168,244L179,248L190,249L201,248L212,244L222,237L228,228L234,217L239,204L245,189L251,174L256,157L261,140L266,123L271,106L276,91L281,76L285,63L289,52L297,43L306,36L314,32L322,31L329,32L335,36L341,43L345,52L345,63L345,76L345,91L345,106L345,123L345,140"></path> | |
| <path class="ants" mask="url(#mask-ants)" d="M271,106L276,91L281,76L285,63L289,52L297,43L306,36L314,32L322,31L329,32L335,36L341,43L345,52L345,63L345,76L345,91L345,106L345,123L345,140L345,140L345,157L345,174L345,189L345,204L345,217L345,228L341,237L335,244L329,248L322,249L314,248L306,244L297,237L289,228L285,217L281,204L276,189L271,174L266,157L261,140L256,123L251,106L245,91L239,76L234,63L228,52L222,43L212,36L201,32L190,31L179,32L168,36L158,43L152,52L146,63L141,76L135,91L129,106"></path> | |
| <path class="ants" mask="url(#mask-ants)" d="M109,174L104,189L99,204L95,217L91,228L83,237L74,244L66,248L58,249L51,248L45,244L39,237L35,228L35,217L35,204L35,189L35,174L35,157L35,140L35,123L35,106L35,91L35,76L35,63L35,52L39,43L45,36L51,32L58,31L66,32L74,36L83,43L91,52L95,63L99,76L104,91L109,106L114,123L119,140L124,157L129,174L135,189L141,204L146,217L152,228L158,237L168,244L179,248L190,249L201,248L212,244L222,237L228,228L234,217L239,204L245,189L251,174"></path> | |
| </svg> | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment