Skip to content

Instantly share code, notes, and snippets.

@avrasgoldman
Last active August 24, 2017 19:36
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 avrasgoldman/b54b411a75cdf95bde8bd139dbb155d1 to your computer and use it in GitHub Desktop.
Save avrasgoldman/b54b411a75cdf95bde8bd139dbb155d1 to your computer and use it in GitHub Desktop.
face
license: mit
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<script src="https://d3js.org/d3.v4.min.js"></script>
<style>
body { margin:0;position:fixed;top:0;right:0;bottom:0;left:0; }
</style>
</head>
<body>
<svg width=960 height=500>
<g transform=scale(0.54) fill="red">
<circle cx="226" cy="286" r="36" stroke="red"/>
<circle cx="291" cy="286" r="36"/>
<path d="M 196 306 L 261 400 L 325 300"/>
</g>
<g transform=scale(0.54) fill="red">
<circle cx="611" cy="286" r="36" stroke="red"/>
<circle cx="675" cy="286" r="36"/>
<path d="M 705 306 L 639 400 L 577 300"/>
</g>
<path d="M 338 300 A 50 50 0 1 1 150 300" fill="none" stroke="red" stroke-width="4"/>
<path d="M 230 251 L 270 259" fill="none" stroke="red" stroke-width="6"/>
</svg>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment