Closed twang817 closed 1 year ago
I didn't draw this. I came across the wwdc logo and copied it from there.
Are you sure we can add this logo then? I'm not 100% sure on the intricacies of licensing here, but I would surmise that we can't relicense the work made by Apple... If it were recreated in the same style, I would suppose that might count as an "original" work.
I didn't draw this. I came across the wwdc logo and copied it from there.
Are you sure we can add this logo then? I'm not 100% sure on the intricacies of licensing here, but I would surmise that we can't relicense the work made by Apple... If it were recreated in the same style, I would suppose that might count as an "original" work.
I honestly didn't give it anywhere near this much thought. The picture isn't exactly the same. I used a random generator for the internal symbols and randomized the colors.
That being said, if there are issues, I would wonder what the legality of any of the logos/trademarks are. I suspect that there isn't anyone that's going to get upset with this use case.
If the size is a concern, I'd happily share my Python code that generates the ascii file. It's stupid code, done in a hurry. Perhaps it could be worked into something that generates and caches the logo on first load.
As for shrinking it, I really don't have a single artistic bone in my body. Perhaps someone else will come along and redo this in a smaller size.
Really, I made this change for my own use. I've always liked this graphic, and I thought I'd share. I'm not trying to sound stand-offish, but at this point, it's entirely up to you.
I'll try to work on this within some days :+1:
So I caught a glimpse of it, my points below :
{
, please prefer escaping them ({{
) :wink:Thanks again, bye :pray:
I've uploaded the code I used to generate this. I wrote this some time ago, and revisited it today.
A couple points:
I don't know how useful this is to your requirements and/or goals.
You can find the gist here: https://gist.github.com/twang817/30dacccd1c9a29fe159157027e9c462c
Hey @twang817, sorry for the delay.
So I've checked your gist, see below my points/suggestions :
{c[N]}
syntax (literally 6 bytes in the end source code) instead of explicit control characters (i.e. \033[...
) full format ?COLORS_WWDC
containing all the colors that are needed.Thanks again, bye :wave:
I noticed this has been around for a while so I've had a bit of a go at addressing some of the above concerns.
I forked the gist with a few small changes to get it to output an Archey-style logo and dirtily remove redundant colour codes - https://gist.github.com/ingrinder/9e68f7bd1e2d8c9d86a0a5a594a64e1d
I also made some tentative changes to allow the specific colours to be used by adding 256-colour support, see the logo/apple_wwdc20 branch.
It's still "big", at 8K and 36 lines, but it looks fairly decent to me despite the size? I suppose the big empty space satisfies the Apple aesthetic...! I wouldn't really know how to start removing lines from the logo without redrawing the whole input one by hand. @HorlogeSkynet if you think this is viable, perhaps I could write some tests and @twang817 could pull it into this PR?
Thanks @ingrinder for the hard work !!! I'm ready to review a PR for your branch 🙏
@twang817 I pushed onto the end of your fork, I hope that's okay - it seemed easier than making a separate PR, and I believe you won't lose credit in the commit once it's merged that way.
@HorlogeSkynet I think this is ready for review, I added tests and squashed together some of my commits. Quick overview of changes:
Colors
class into Style
base class for general formatting stuff (possibility for extension in future with other attributes)Colors8Bit
class extending Style
to allow 256 colour mode text to be used (as in this PR)Let me know what you think :+1:
@HorlogeSkynet Rebased on master and squashed into 2 commits - I removed the AttributeError
check as you said. Should be good to merge if you're happy :tada:
Many thanks @ingrinder :pray: @twang817 This will be released in the next Archey version, optimistically before the end of July.
Description
Adds Apple's WWDC 2020 logo as a variant.
Types of changes :
Checklist :