Replies: 3 comments 6 replies
-
By the way we have to wrote a blurb for the organisation :
|
Beta Was this translation helpful? Give feedback.
1 reply
-
## OpenAI code
using CairoMakie
using Colors
# Define color
julia_green = RGB(0.22,0.596,0.149)
julia_red = RGB(0.796,0.235,0.2)
julia_purple = RGB(0.584,0.345,0.698)
julia_blue = RGB(0.251,0.392,0.843)
#=# Define colors
blue = :#4063D8
red = :#CB3C33
purple = :#9558B2
green = :#389826
=#
# Create a figure
begin
fig = Figure(size = (600, 600))
ax = Axis(fig[1, 1], aspect = 1, backgroundcolor = :white)
# Side panels (purple)
poly!(ax, [Point2f(-1.0, -1.0), Point2f(1, -1.0), Point2f(1, 0), Point2f(-1.0, 0)], color=julia_purple, strokewidth=4, strokecolor=:black)
# Draw MRI machine components
# Outer circle (MRI scanner body)
poly!(Circle(Point2f(0, 0), 1.0), color = :white,strokecolor=:black, strokewidth=4)
# Inner circle (scanner tunnel)
poly!(Circle(Point2f(0, 0), 0.7), color = julia_red,strokecolor=:black, strokewidth=4)
poly!(Circle(Point2f(0, 0), 0.4), color = :white,strokecolor=:black, strokewidth=4)
# table (blue)
poly!(ax,
[ Point2f(-0.4, -0.8),
Point2f(0.4, -0.8),
Point2f(0.25, -0.3),
Point2f(-0.25, -0.3)],
color=julia_blue,
strokewidth=4,
strokecolor=:black)
poly!(ax, Rect(-0.4, -1.1, 0.8, 0.3), color=julia_blue, strokewidth=4, strokecolor=:black)
# Green buttons
h = -0.2
w = 0.04
poly!(Circle(Point2f(w+0.75, h+0.3), 0.04), color = julia_green,strokecolor=:black, strokewidth=4)
poly!(Circle(Point2f(w+0.85, h+0.3), 0.04), color = julia_green,strokecolor=:black, strokewidth=4)
poly!(Circle(Point2f(w+0.75, h+0.2), 0.04), color = julia_green,strokecolor=:black, strokewidth=4)
poly!(Circle(Point2f(w+0.85, h+0.2), 0.04), color = julia_green,strokecolor=:black, strokewidth=4)
hidedecorations!(ax)
hidespines!(ax)
fig
end
save("logo_makie.png", fig) |
Beta Was this translation helpful? Give feedback.
5 replies
-
The logo is available here : |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
It will be great to have a logo for the organization that will be also used on the JuliaHealth website @TheCedarPrince (JuliaHealth/juliahealth.github.io#131 (comment))
I have made something rapidly, right now not with makie but it only use simple shapes so when we agreed on a design we should be able to do something reproducible with julia.
Do you have suggestion or stuff we should add ?
Beta Was this translation helpful? Give feedback.
All reactions