Skip to content

Instantly share code, notes, and snippets.

@netsi1964
Forked from LeaVerou/dabblet.css
Created April 20, 2013 07:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save netsi1964/5425166 to your computer and use it in GitHub Desktop.
Save netsi1964/5425166 to your computer and use it in GitHub Desktop.
SVG inspired by Quine's paradox
/**
* SVG inspired by Quine's paradox
*/
svg {
display: block;
margin: 40px auto;
font: 83px sans-serif;
}
<!-- Does not work in Safari, no clue why (thx @thomasqbrady) -->
<svg width="600" height="600">
<defs>
<path id="textpath" d="M 100,300 a 200,200 0 1,1 0,1" />
</defs>
<text transform="rotate(10,300,300)" x="1">
<animateTransform attributeType="xml"
3 attributeName="transform"
4 type="rotate"
5 from="0 300 300"
6 to="360 300 300"
7 dur="14s"
8 repeatCount="indefinite"/>
<textPath spacing="auto" xlink:href="#textpath">
circular reasoning works because
</textPath>
</text>
</svg>
<style>
svg {
background-color: white;
}
text {
font-size: 0.7em;
}
</style>
// alert('Hello world!');
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"html"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment