Skip to content

Instantly share code, notes, and snippets.

@h3y6e
Last active April 24, 2022 07:45
Show Gist options
  • Save h3y6e/3d4a158961d9a63514794a01f211a2b3 to your computer and use it in GitHub Desktop.
Save h3y6e/3d4a158961d9a63514794a01f211a2b3 to your computer and use it in GitHub Desktop.
eval(%w(
puts("#!/
usr/bi
n/env
"+32.ch r+"ju lia"+1 0.chr*2
+"using "+32. chr+"Lux or,"+32
.chr+ "Colo rs"+10 .chr
*2+"f unction
"+32.c hr+"dr aw_jul ia_lo go(fna me)"+1 0.chr+
"Drawi ng(200 0,"+32 .chr+ "2000, "+32.c hr+"fn
ame)"+ 10.chr +32.ch r*4+" origin ()"+10.
chr+32 .chr*4 +"back groun d(\"wh ite\")"+10.c
hr+32. chr*4+ "sethu e(\"b lue\") "+10.c hr+32.
chr*4+ "scale (5)"+1 0.chr +32.ch r*4+"j ulialo
go(act ion=:fi ll,"+32. chr+" center ed=true )"+10.ch
r+32.c hr*4+"fi nish() "+10. chr+"e nd"+10.c hr*2+"
draw_j
ulia _logo(
\"logo.png\"
)"))*"")
@h3y6e
Copy link
Author

h3y6e commented Apr 24, 2022

ruby julia_logo.rb > julia_logo.jl
julia julia_logo.jl
open logo.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment