init

pull/4/head
fox 2022-11-13 18:12:44 -06:00
commit fb602a564f
36 changed files with 328 additions and 0 deletions

11
LICENSE.BSD-3 Normal file
View File

@ -0,0 +1,11 @@
Copyright 2022 Treehouse.systems
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

121
LICENSE.CC0-1.0 Normal file
View File

@ -0,0 +1,121 @@
Creative Commons Legal Code
CC0 1.0 Universal
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
HEREUNDER.
Statement of Purpose
The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator
and subsequent owner(s) (each and all, an "owner") of an original work of
authorship and/or a database (each, a "Work").
Certain owners wish to permanently relinquish those rights to a Work for
the purpose of contributing to a commons of creative, cultural and
scientific works ("Commons") that the public can reliably and without fear
of later claims of infringement build upon, modify, incorporate in other
works, reuse and redistribute as freely as possible in any form whatsoever
and for any purposes, including without limitation commercial purposes.
These owners may contribute to the Commons to promote the ideal of a free
culture and the further production of creative, cultural and scientific
works, or to gain reputation or greater distribution for their Work in
part through the use and efforts of others.
For these and/or other purposes and motivations, and without any
expectation of additional consideration or compensation, the person
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
is an owner of Copyright and Related Rights in the Work, voluntarily
elects to apply CC0 to the Work and publicly distribute the Work under its
terms, with knowledge of his or her Copyright and Related Rights in the
Work and the meaning and intended legal effect of CC0 on those rights.
1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not
limited to, the following:
i. the right to reproduce, adapt, distribute, perform, display,
communicate, and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or
likeness depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data
in a Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation
thereof, including any amended or successor version of such
directive); and
vii. other similar, equivalent or corresponding rights throughout the
world based on applicable law or treaty, and any national
implementations thereof.
2. Waiver. To the greatest extent permitted by, but not in contravention
of, applicable law, Affirmer hereby overtly, fully, permanently,
irrevocably and unconditionally waives, abandons, and surrenders all of
Affirmer's Copyright and Related Rights and associated claims and causes
of action, whether now known or unknown (including existing as well as
future claims and causes of action), in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or
treaty (including future time extensions), (iii) in any current or future
medium and for any number of copies, and (iv) for any purpose whatsoever,
including without limitation commercial, advertising or promotional
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
member of the public at large and to the detriment of Affirmer's heirs and
successors, fully intending that such Waiver shall not be subject to
revocation, rescission, cancellation, termination, or any other legal or
equitable action to disrupt the quiet enjoyment of the Work by the public
as contemplated by Affirmer's express Statement of Purpose.
3. Public License Fallback. Should any part of the Waiver for any reason
be judged legally invalid or ineffective under applicable law, then the
Waiver shall be preserved to the maximum extent permitted taking into
account Affirmer's express Statement of Purpose. In addition, to the
extent the Waiver is so judged Affirmer hereby grants to each affected
person a royalty-free, non transferable, non sublicensable, non exclusive,
irrevocable and unconditional license to exercise Affirmer's Copyright and
Related Rights in the Work (i) in all territories worldwide, (ii) for the
maximum duration provided by applicable law or treaty (including future
time extensions), (iii) in any current or future medium and for any number
of copies, and (iv) for any purpose whatsoever, including without
limitation commercial, advertising or promotional purposes (the
"License"). The License shall be deemed effective as of the date CC0 was
applied by Affirmer to the Work. Should any part of the License for any
reason be judged legally invalid or ineffective under applicable law, such
partial invalidity or ineffectiveness shall not invalidate the remainder
of the License, and in such case Affirmer hereby affirms that he or she
will not (i) exercise any of his or her remaining Copyright and Related
Rights in the Work or (ii) assert any associated claims and causes of
action with respect to the Work, in either case contrary to Affirmer's
express Statement of Purpose.
4. Limitations and Disclaimers.
a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or
warranties of any kind concerning the Work, express, implied,
statutory or otherwise, including without limitation warranties of
title, merchantability, fitness for a particular purpose, non
infringement, or the absence of latent or other defects, accuracy, or
the present or absence of errors, whether or not discoverable, all to
the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without
limitation any person's Copyright and Related Rights in the Work.
Further, Affirmer disclaims responsibility for obtaining any necessary
consents, permissions or other rights required for any use of the
Work.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to
this CC0 or use of the Work.

34
README.md Normal file
View File

@ -0,0 +1,34 @@
# Treehouse Emoji
![:agender_flag:](emoji/png/agender-flag.png?raw=true ":agender_flag:")
![:aromantic_flag:](emoji/png/aromantic-flag.png?raw=true ":aromantic_flag:")
![:asexual_flag:](emoji/png/asexual-flag.png?raw=true ":asexual_flag:")
![:bigender_flag:](emoji/png/bigender-flag.png?raw=true ":bigender_flag:")
![:bisexual_flag:](emoji/png/bisexual-flag.png?raw=true ":bisexual_flag:")
![:demisexual_flag:](emoji/png/demisexual-flag.png?raw=true ":demisexual_flag:")
![:genderfluid_flag:](emoji/png/genderfluid-flag.png?raw=true ":genderfluid_flag:")
![:genderqueer_flag:](emoji/png/genderqueer-flag.png?raw=true ":genderqueer_flag:")
![:intersex_flag:](emoji/png/intersex-flag.png?raw=true ":intersex_flag:")
![:lesbian_flag:](emoji/png/lesbian-flag.png?raw=true ":lesbian_flag:")
![:nonbinary_flag:](emoji/png/nonbinary-flag.png?raw=true ":nonbinary_flag:")
![:pansexual_flag:](emoji/png/pansexual-flag.png?raw=true ":pansexual_flag:")
![:polyamory_flag:](emoji/png/polyamory-flag.png?raw=true ":polyamory_flag:")
![:pride_flag:](emoji/png/pride-flag.png?raw=true ":pride_flag:")
![:rainbow_flag:](emoji/png/rainbow-flag.png?raw=true ":rainbow_flag:")
![:transgender_flag:](emoji/png/transgender-flag.png?raw=true ":transgender_flag:")
## Licenses
All Treehouse Emoji images have no copywrite and are published through the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication. All other files are under The 3-Clause BSD License.
## Attribution
Demisexual Flag based on @AnonMoos@wikimedia.org's SVG (CC0 1.0).
Intersex Flag is based on Morgan Carpenter's [SVG design](https://ihra.org.au/22773/an-intersex-flag/) (CC0 1.0).
Polyamory Flag is based on Jim Evan's SVG (CC0 1.0).
Pride Flag is based on @Nikki@wikimedia.org's SVG (CC0 1.0).
Transgender Flag is based on Dlloyd's SVG (Public Domain).

39
emoji-convert.sh Executable file
View File

@ -0,0 +1,39 @@
LENGTH=128
MARGIN=1
WIDTH=126
HEIGHT=84
#ROUND=10
TEMP=`mktemp -d -p ""`
for svg_path in emoji/svg/*.svg; do
svg=${svg_path#"emoji/svg/"}
# resize
convert ${svg_path} \
-resize ${WIDTH}x${HEIGHT} \
$TEMP/resized-${svg%.svg}.png
# round borders
magick $TEMP/resized-${svg%.svg}.png \
\( +clone -alpha extract \
-draw 'fill black polygon 0,0 0,10 10,0 fill white circle 10,10 10,0' \
\( +clone -flip \) -compose Multiply -composite \
\( +clone -flop \) -compose Multiply -composite \
\) -alpha off -compose CopyOpacity -composite $TEMP/rounded-${svg%.svg}.png
# add margin
convert $TEMP/rounded-${svg%.svg}.png \
-bordercolor transparent \
-border ${MARGIN} \
$TEMP/margin-${svg%.svg}.png
# make square
convert -background transparent \
-gravity center \
$TEMP/margin-${svg%.svg}.png \
-extent ${LENGTH}x${LENGTH} \
./emoji/png/${svg%.svg}.png
echo ${svg%.svg} created
done
rm -rf $TEMP
# fix and remove metadata
exiftool -all= -overwrite_original ./emoji/png/*

BIN
emoji/png/agender-flag.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 523 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 611 B

BIN
emoji/png/asexual-flag.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 604 B

BIN
emoji/png/bigender-flag.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 478 B

BIN
emoji/png/bisexual-flag.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 542 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 611 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 569 B

BIN
emoji/png/intersex-flag.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
emoji/png/lesbian-flag.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 651 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 604 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 562 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
emoji/png/pride-flag.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

BIN
emoji/png/rainbow-flag.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 649 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 475 B

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 588 420">
<path fill="#2C2C2C" d="M0 0h588v420H0z"/>
<path fill="#BABABA" d="M0 60h588v300H0z"/>
<path fill="#FCFCFC" d="M0 120h588v180H0z"/>
<path fill="#B9F483" d="M0 180h588v60H0z"/>
</svg>

After

Width:  |  Height:  |  Size: 293 B

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 750 500">
<path fill="#3AA740" d="M0 0h750v100H0z"/>
<path fill="#A8D47A" d="M0 100h750v100H0z"/>
<path fill="#FCFCFC" d="M0 200h750v100H0z"/>
<path fill="#ABABAB" d="M0 300h750v100H0z"/>
<path fill="#2C2C2C" d="M0 400h750v100H0z"/>
</svg>

After

Width:  |  Height:  |  Size: 342 B

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 750 500">
<path fill="#2C2C2C" d="M0 0h750v125H0z"/>
<path fill="#A3A3A3" d="M0 125h750v125H0z"/>
<path fill="#FCFCFC" d="M0 250h750v125H0z"/>
<path fill="#810081" d="M0 375h750v125H0z"/>
</svg>

After

Width:  |  Height:  |  Size: 295 B

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 588 420">
<path fill="#C57AA4" d="M0 0h588v420H0z"/>
<path fill="#EEA7CE" d="M0 60h588v300H0z"/>
<path fill="#D6C8E9" d="M0 120h588v180H0z"/>
<path fill="#FCFCFC" d="M0 180h588v60H0z"/>
</svg>

After

Width:  |  Height:  |  Size: 293 B

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 840 600">
<path fill="#D70071" d="M0 0h840v240H0z"/>
<path fill="#9C4E97" d="M0 240h840v120H0z"/>
<path fill="#0035AA" d="M0 360h840v240H0z"/>
</svg>

After

Width:  |  Height:  |  Size: 248 B

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 672 480">
<path fill="#D2D2D2" d="M0 0h672v480H0"/>
<path fill="#6E0070" d="M0 0h672v280H0"/>
<path fill="#FCFCFC" d="M0 0h672v200H0"/>
<path fill="#2C2C2C" d="M0 0l257 240L0 480"/>
</svg>

After

Width:  |  Height:  |  Size: 289 B

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 750 500">
<path fill="#F5ABB9" d="M0 0h750v100H0z"/>
<path fill="#FCFCFC" d="M0 100h750v100H0z"/>
<path fill="#BF11D7" d="M0 200h750v100H0z"/>
<path fill="#2C2C2C" d="M0 300h750v100H0z"/>
<path fill="#303CBE" d="M0 400h750v100H0z"/>
</svg>

After

Width:  |  Height:  |  Size: 342 B

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 840 600">
<path fill="#B77FDD" d="M0 0h840v200H0z"/>
<path fill="#FCFCFC" d="M0 200h840v200H0z"/>
<path fill="#49821E" d="M0 400h840v200H0z"/>
</svg>

After

Width:  |  Height:  |  Size: 248 B

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 840 600">
<path fill="#FFD800" d="M0 0h900v600H0z"/>
<circle cx="420" cy="300" r="138" fill="none" stroke-width="46" stroke="#7902aa"/>
</svg>

After

Width:  |  Height:  |  Size: 239 B

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 588 420">
<path fill="#D62900" d="M0 0h588v60H0z"/>
<path fill="#F07722" d="M0 60h588v60H0z"/>
<path fill="#FF9B55" d="M0 120h588v60H0z"/>
<path fill="#FCFCFC" d="M0 180h588v60H0z"/>
<path fill="#D262A6" d="M0 240h588v60H0z"/>
<path fill="#B75591" d="M0 300h588v60H0z"/>
<path fill="#A50062" d="M0 360h588v60H0z"/>
</svg>

After

Width:  |  Height:  |  Size: 428 B

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 750 500">
<path fill="#FCF431" d="M0 0h750v125H0z"/>
<path fill="#FCFCFC" d="M0 125h750v125H0z"/>
<path fill="#9D59D2" d="M0 250h750v125H0z"/>
<path fill="#2C2C2C" d="M0 375h750v125H0z"/>
</svg>

After

Width:  |  Height:  |  Size: 295 B

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 840 600">
<path fill="#FF1B8D" d="M0 0h840v200H0z"/>
<path fill="#FFD900" d="M0 200h840v200H0z"/>
<path fill="#1BB3FF" d="M0 400h840v200H0z"/>
</svg>

After

Width:  |  Height:  |  Size: 248 B

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 268.8 192">
<path fill="#004CFF" d="M0 0h288v64H0z"/>
<path fill="#E50000" d="M0 64h288v64H0z"/>
<path fill="#2C2C2C" d="M0 128h288v64H0z"/>
<path d="M121.52 112.8c0-2.6.8-4.8 1.5-7.5l6-21c.5-1.8.3-2.7-1.9-2.7-6.6 0-9.9 1.8-12.3 9-.2.5-.2 1.4-1 1.4s-1.4-1.3-1.4-3.8c0-5.3 3.8-12.9 16.3-12.9 4.4 0 9.1.3 13.5.6 3.4.2 6.5.4 9.3.4 2.7 0 4.6-.9 6-1.6 1.1-.7 1.7-1.2 2.2-1.2 1 0 1.2.8 1.2 3 0 2.8-2.1 6.4-3.6 6.4-2.6 0-5.7-.4-7-.4-2.1 0-2.9.3-3.3 3-.4 2.8-2.3 14.5-2.3 18.4 0 2.4 1.7 3.4 3.6 3.5 1.1.1 2.3-.1 3.3-.5.8-.3 1.3-.6 1.5-.6.9 0 1 .5 1 1.5 0 3.3-2.2 8.3-7 8.3-3.3 0-6.2-3.2-6.2-9.6 0-4.8 2.5-18.6 2.5-21.7 0-1.2-.6-2.4-1.5-2.4l-7.5-.3c-1.3-.1-2 .5-2.4 2-3 11.3-3.8 18.5-4 23.2-.1 3.2.2 5.2.4 6.4.3 1.7.4 2.6-1 2.6-1.3 0-5.9-2-5.9-3.5z" fill="#FFEE00"/>
</svg>

After

Width:  |  Height:  |  Size: 866 B

16
emoji/svg/pride-flag.svg Normal file
View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 5334 3810">
<path fill="#E22016" d="M0 0h5334v635H0z"/>
<path fill="#F28917" d="M0 635h5334v635H0z"/>
<path fill="#6D2380" d="M0 1270h5334v635H0z"/>
<path fill="#2C58A4" d="M0 1905h5334v635H0z"/>
<path fill="#78B82A" d="M0 2540h5334v635H0z"/>
<path fill="#EFE524" d="M0 3175h5334v635H0z"/>
<path fill="#2C2C2C" d="M0 0h1577l1764 1905-1764 1905H0z"/>
<path fill="#945516" d="M0 0h1209l1764 1905-1764 1905H0z"/>
<path fill="#7BCCE5" d="M0 0h844l1764 1905L844 3810H0z"/>
<path fill="#F4AEC8" d="M0 0h477l1764 1905L477 3810H0z"/>
<path fill="#FCFCFC" d="M0 0h111l1763 1905L111 3810H0z"/>
<path fill="#FDD817" d="m0 278 1507 1627L0 3532z"/>
<circle cx="556" cy="1905" r="404" fill="none" stroke="#66338B" stroke-width="95"/>
</svg>

After

Width:  |  Height:  |  Size: 845 B

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 840 600">
<path fill="#E50000" d="M0 0h840v100H0z"/>
<path fill="#FF8D00" d="M0 100h840v100H0z"/>
<path fill="#FFEE00" d="M0 200h840v100H0z"/>
<path fill="#008121" d="M0 300h840v100H0z"/>
<path fill="#004CFF" d="M0 400h840v100H0z"/>
<path fill="#760188" d="M0 500h840v100H0z"/>
</svg>

After

Width:  |  Height:  |  Size: 389 B

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 672 480">
<path fill="#5BCEFA" d="M0 0h672v480H0z"/>
<path fill="#F5A9B8" d="M0 96h672v288H0z"/>
<path fill="#FCFCFC" d="M0 192h672v96H0z"/>
</svg>

After

Width:  |  Height:  |  Size: 246 B