Giter Club home page Giter Club logo

muterlogomaker's Introduction

Muter Logo Maker

screenshot showing an RTF file in TextEdit with a block character illustration of the Muter zombie hand logo on the left, and a Terminal window showing the same logo

Generate the Unicode art for the muter logo. Use the included .rtf file to edit the logo Unicode art in TextEdit on macOS. Then run the script to render the chracters and colors from TextEdit into a Swift source file.

This is separate code from the main muter repo for two reasons:

  1. So we don’t have to include an extra .rtf file and parsing code in the repo.
  2. This repo uses an AppKit API to read the .rtf file as an NSAttributedString, and this API is not available on Linux, where muter needs to be able to run.

Usage

Run MuterLogoMaker and pass in the path to the MuterLogo.swift file from the main muter repo. The file will be overwritten with the output of MuterLogoMaker.

swift run MuterLogoMaker --output /path/to/MuterLogo.swift

Testing

To see if it worked, in the main muter repo, run swift run and look at the initial output. You can use Ctrl-C to cancel executation as soon as you see the logo.

muterlogomaker's People

Contributors

zeveisenberg avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.