Skip to content

Instantly share code, notes, and snippets.

@Gnimuc
Created August 11, 2018 12:06
Show Gist options
  • Save Gnimuc/168c87a3847f8e5d61bb206be24520e0 to your computer and use it in GitHub Desktop.
Save Gnimuc/168c87a3847f8e5d61bb206be24520e0 to your computer and use it in GitHub Desktop.
using Luxor
function juliacn(radius=100; outercircleratio=0.75, innercircleratio=0.65)
points = ngon(O, radius, 3, pi/6, vertices=true)
fontsize(150)
fontface("TamilMN-Bold")
setcolor(Luxor.reds[1]...)
translate(-63.25, 51.25)
text("C", points[1], halign="center", valign="bottom")
translate(7, 0)
setcolor(Luxor.purples[1]...)
text("N", points[3], halign="center", valign="bottom")
end
Drawing(400, 400, "juliacn-logos.png")
origin()
background("white")
gsave()
juliacircles()
juliacn()
grestore()
finish()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment