Skip to content

Instantly share code, notes, and snippets.

@foone
Last active February 8, 2024 02:38
Show Gist options
  • Save foone/11087057c4cf49c93212045e1e7e2b44 to your computer and use it in GitHub Desktop.
Save foone/11087057c4cf49c93212045e1e7e2b44 to your computer and use it in GitHub Desktop.
pre-release VGAPride DSL files
$names=["demisexual"]
$description="The Demisexual pride flag"
// Unknown creator. Maybe research further?
$textcolor=$black
// The trick here is that we define the top&bottom colors twice, so this ends up looking like we have variable heights
$center_stripe = RGB(110, 0,112)
$bottom = RGB(210,210,210)
vertical{
$white
$white
$center_stripe
$bottom
$bottom
}
Polygon Filled, (0,0), [(0,0), (240,240), (0,480)], $black
$names=["original-gay","original-rainbow","rainbow8","gay8"]
$description="The Original Rainbow Pride flag"
$credits="Designed by Gilbert Baker in 1978"
$sex= RGB(255,105,180)
$life= RGB(255, 0, 0)
$healing= RGB(255,142, 0)
$sunlight= RGB(255,255, 0)
$nature= RGB( 0,142, 0)
$magic= RGB( 0,192,192)
$serenity= RGB( 64, 0,152)
$spirit= RGB(142, 0,142)
vertical{
$sex
$life
$healing
$sunlight
$nature
$magic
$serenity
$spirit
}
$names=["five-stripe-gay-men","toothpaste5"]
$description="A 5-stripe modified version of the gayflagblog flag"
$textcolor=RGB(255,255,255)
$textsize=2
vertical{
RGB( 0,165,213)
RGB( 86,185,255)
RGB(255,255,255)
RGB( 98,211,143)
RGB( 2,163, 66)
}
$names=["gay-men","toothpaste"]
$description="A pride flag for Gay men"
$credits="Created by Triton (@gayflagblog on tumblr) in 2019, based on a design by Hermy" //according to https://prideflags.info/flag/mlm
vertical{
RGB( 7,141,112)
RGB( 38,206,170)
RGB(153,232,194)
RGB(255,255,255)
RGB(123,173,227)
RGB( 80, 73,203)
RGB( 62, 26,120)
}
$names=["jewish"]
$description="The Jewish Pride Flag"
#include "rainbow6"
Polygon Filled,(0,0),[(232,292),(319,135),(319,169),(260,274)],$white
Polygon Filled,(0,0),[(232,292),(260,274),(377,274),(406,291)],$white
Polygon Filled,(0,0),[(319,135),(406,291),(377,274),(319,169)],$white
Polygon Filled,(0,0),[(319,342),(232,188),(260,203),(319,310)],$white
Polygon Filled,(0,0),[(232,188),(406,187),(378,203),(260,203)],$white
Polygon Filled,(0,0),[(319,310),(378,203),(406,187),(319,342)],$white
$names=["nine-stripe-rainbow","gay9","rainbow9"]
$description="The Rainbow Pride flag (9-stripe version)"
$credits="Designed by Gilbert Baker, added Diversity in 2017"
$diversity= #CD66FF
$sex= #FF6599
$life= #FF0000
$healing= #FF9900
$sunlight= #FFFF01
$nature= #009A00
$magic= #0099CB
$serenity= #340099
$spirit= #990099
vertical{
$diversity
$sex
$life
$healing
$sunlight
$nature
$magic
$serenity
$spirit
}
$names=["seven-stripe-rainbow","gay7","rainbow7"]
$description="The Rainbow Pride flag (7-stripe version)"
$credits="Designed by Gilbert Baker, hot pink dropped due to fabric availability"
$life= RGB(255, 0, 0)
$healing= RGB(255,142, 0)
$sunlight= RGB(255,255, 0)
$nature= RGB( 0,142, 0)
$magic= RGB( 0,192,192)
$serenity= RGB( 64, 0,152)
$spirit= RGB(142, 0,142)
vertical{
$life
$healing
$sunlight
$nature
$magic
$serenity
$spirit
}
$names=["rainbow","rainbow1979","gay","gay6","rainbow6"]
$description="The Rainbow Pride flag (1979 edition)"
$credits="Designed by Gilbert Baker, changed in 1979 based on fabric availability"
$life= RGB(228, 3, 3)
$healing= RGB(255,140, 0)
$sunlight= RGB(255,237, 3)
$nature= RGB( 0,128, 38)
$blue= RGB( 0, 77,255)
$spirit= RGB(117, 7,135)
vertical{
$life
$healing
$sunlight
$nature
$blue
$spirit
}
$names=["vore"]
$description="Vore pride flag"
$credits="by u/soyuzonions in r/vexillology in 2020"
// https://www.reddit.com/r/vexillology/comments/i6du3z/proposal_for_vore_pride_flag_voreday/
$outer=#2F3E81
$inner=#6B36A8
$center=#3DC5EB
vertical{
$outer
$inner
$center
$inner
$outer
}
@fschulze
Copy link

There seems to be a stray comma on line 2 of gay-men

Besides that the description seems to fit for the parts that are used so far.

@fschulze
Copy link

fschulze commented Feb 4, 2024

I have updated and pushed my Rust implementation: https://github.com/fschulze/vgapride-rs For now it writes out SVG files in the current directory. It only implements the specification to the extend it is used in the flags here.

It looks like $life and $healing in nine-stripe-rainbow is duplicated instead of different.

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