Quick and dirty Minecraft player head to SVG converter

Head SVG

Quick and dirty Minecraft player head to SVG converter. Can be used to generate player head icons.

Usage

" [-s|--scale ] Converts Minecraft player head to SVG Arguments: -h --help Print help information -n --name Player username -s --scale SVG pixel scale. Default: 100 ">
usage: Head SVG [-h|--help] -n|--name "
     
      " [-s|--scale 
      
       ]
                Converts Minecraft player head to SVG

Arguments:

  -h  --help   Print help information
  -n  --name   Player username
  -s  --scale  SVG pixel scale. Default: 100

      
     

Building

$ go build -ldflags '-s -w' cmd/headsvg/headsvg.go

Running Unit Tests

$ go test ./...

Examples

$ headsvg -n PotatoMaster101 -s 50 > PotatoMaster101.svg
Owner
PotatoMaster101
Software dev and hacker
PotatoMaster101
Similar Resources

Tetra3D is a 3D software renderer written in Go and Ebiten and made for games.

Tetra3D is a 3D software renderer written in Go and Ebiten and made for games.

Tetra3D Tetra3D Docs Support If you want to support development, feel free to check out my itch.io / Steam / Patreon. I also have a Discord server her

Dec 20, 2022

an API to handle the deck and cards to be used in any game like Poker and Blackjack.

Card Games REST API in GO Simple RESTful API for Card games. with database implementation Quick Start # Install mux router cd /main go get -u github.c

Dec 22, 2021

Go bindings for raylib, a simple and easy-to-use library to enjoy videogames programming.

Go bindings for raylib, a simple and easy-to-use library to enjoy videogames programming.

raylib-go Golang bindings for raylib, a simple and easy-to-use library to enjoy videogames programming. Requirements Ubuntu X11 apt-get install libgl1

Dec 28, 2022

Play chess with Go, HTML5, WebSockets and random strangers!

ChessBuddy Play chess with Go, HTML5, WebSockets and random strangers! Demo: http://chess.tux21b.org:8000/ Hint: Open the page in two different tabs,

Nov 10, 2022

An implementation of the popular game Codenames created with Go and React.

OpenCodenames A real-time implementation of Codenames created with React/TypeScript and Golang. You can play the game here! Installation Stack: React

Aug 8, 2021

Dedicated Game Server Hosting and Scaling for Multiplayer Games on Kubernetes

Dedicated Game Server Hosting and Scaling for Multiplayer Games on Kubernetes

Agones is a library for hosting, running and scaling dedicated game servers on Kubernetes. Agones, is derived from the Greek word agōn which roughly t

Jan 6, 2023

A game server side framework with both web API and realtime communication.

HAYABUSA Framework Hayabusa is a server side framework for Japan-like social games. Easy to understand and use for beginners Powerful controller, flex

May 21, 2022

This is a "simple" game server. Main functionalities are matching and establishing a connection between players

This is a

Game Server This is a "simple" game server. Main functionalities are matching and establishing a connection between players How to Run? run the server

Aug 28, 2022

Emulate a Vikings War of Clans battle with the real game mechanics and gives you the results of your emulated rapport!

VikingsStatsCalc Emulate a Vikings War of Clans battle with the real game mechanics and gives you the results of your emulated rapport! TODO Introduce

Nov 18, 2022
Comments
  • Set static rect x+y coordinates and width + height size for responsive scaling

    Set static rect x+y coordinates and width + height size for responsive scaling

    Proposal: Instead of set integers for the rect elements coordinates and height + width sizes I propose setting them to these fix values based on percentages. Have scale only change the SVG head Height and Width and every rect element below will scale based on the parent svg element. I see that the github.com/ajstarks/svgo package only allows integers for the proposed attribute changes so probably have to do some wizardry to get around that.

    I'd contribute code wise but unfortunately lack the skillset. For now I just edit it manually in vscode.

    Reason:

    Allows for dynamically scaling all the rect elements based on the svg elements height/width

    Allows for

    Example SVG LL91

    Example SVG Code

    <?xml version="1.0"?>
    <!-- Generated by SVGo -->
    <svg width="64" height="64"
         xmlns="http://www.w3.org/2000/svg"
         xmlns:xlink="http://www.w3.org/1999/xlink"
    >
    <rect x="0" y="0" width="12.5%" height="12.5%" style="fill:#000000" />
    <rect x="12.5%" y="0" width="12.5%" height="12.5%" style="fill:#81836b" />
    <rect x="25%" y="0" width="12.5%" height="12.5%" style="fill:#909279" />
    <rect x="37.5%" y="0" width="12.5%" height="12.5%" style="fill:#070707" />
    <rect x="50%" y="0" width="12.5%" height="12.5%" style="fill:#000000" />
    <rect x="62.5%" y="0" width="12.5%" height="12.5%" style="fill:#d210ac" />
    <rect x="75%" y="0" width="12.5%" height="12.5%" style="fill:#81836b" />
    <rect x="87.5%" y="0" width="12.5%" height="12.5%" style="fill:#0c0c0c" />
    <rect x="0" y="12.5%" width="12.5%" height="12.5%" style="fill:#000000" />
    <rect x="12.5%" y="12.5%" width="12.5%" height="12.5%" style="fill:#090909" />
    <rect x="25%" y="12.5%" width="12.5%" height="12.5%" style="fill:#000000" />
    <rect x="37.5%" y="12.5%" width="12.5%" height="12.5%" style="fill:#000000" />
    <rect x="50%" y="12.5%" width="12.5%" height="12.5%" style="fill:#000000" />
    <rect x="62.5%" y="12.5%" width="12.5%" height="12.5%" style="fill:#070707" />
    <rect x="75%" y="12.5%" width="12.5%" height="12.5%" style="fill:#000000" />
    <rect x="87.5%" y="12.5%" width="12.5%" height="12.5%" style="fill:#000000" />
    <rect x="0" y="25%" width="12.5%" height="12.5%" style="fill:#0c0c0c" />
    <rect x="12.5%" y="25%" width="12.5%" height="12.5%" style="fill:#030303" />
    <rect x="25%" y="25%" width="12.5%" height="12.5%" style="fill:#000000" />
    <rect x="37.5%" y="25%" width="12.5%" height="12.5%" style="fill:#82f7ef" />
    <rect x="50%" y="25%" width="12.5%" height="12.5%" style="fill:#28f6e9" />
    <rect x="62.5%" y="25%" width="12.5%" height="12.5%" style="fill:#0c0c0c" />
    <rect x="75%" y="25%" width="12.5%" height="12.5%" style="fill:#000000" />
    <rect x="87.5%" y="25%" width="12.5%" height="12.5%" style="fill:#0c0c0c" />
    <rect x="0" y="37.5%" width="12.5%" height="12.5%" style="fill:#909279" />
    <rect x="12.5%" y="37.5%" width="12.5%" height="12.5%" style="fill:#000000" />
    <rect x="25%" y="37.5%" width="12.5%" height="12.5%" style="fill:#000000" />
    <rect x="37.5%" y="37.5%" width="12.5%" height="12.5%" style="fill:#28f6e9" />
    <rect x="50%" y="37.5%" width="12.5%" height="12.5%" style="fill:#04a9a2" />
    <rect x="62.5%" y="37.5%" width="12.5%" height="12.5%" style="fill:#000000" />
    <rect x="75%" y="37.5%" width="12.5%" height="12.5%" style="fill:#000000" />
    <rect x="87.5%" y="37.5%" width="12.5%" height="12.5%" style="fill:#909279" />
    <rect x="0" y="50%" width="12.5%" height="12.5%" style="fill:#909279" />
    <rect x="12.5%" y="50%" width="12.5%" height="12.5%" style="fill:#000000" />
    <rect x="25%" y="50%" width="12.5%" height="12.5%" style="fill:#730d5f" />
    <rect x="37.5%" y="50%" width="12.5%" height="12.5%" style="fill:#b3b59f" />
    <rect x="50%" y="50%" width="12.5%" height="12.5%" style="fill:#abad95" />
    <rect x="62.5%" y="50%" width="12.5%" height="12.5%" style="fill:#730d5f" />
    <rect x="75%" y="50%" width="12.5%" height="12.5%" style="fill:#000000" />
    <rect x="87.5%" y="50%" width="12.5%" height="12.5%" style="fill:#909279" />
    <rect x="0" y="62.5%" width="12.5%" height="12.5%" style="fill:#81836b" />
    <rect x="12.5%" y="62.5%" width="12.5%" height="12.5%" style="fill:#909279" />
    <rect x="25%" y="62.5%" width="12.5%" height="12.5%" style="fill:#a2a58a" />
    <rect x="37.5%" y="62.5%" width="12.5%" height="12.5%" style="fill:#000000" />
    <rect x="50%" y="62.5%" width="12.5%" height="12.5%" style="fill:#000000" />
    <rect x="62.5%" y="62.5%" width="12.5%" height="12.5%" style="fill:#a2a58a" />
    <rect x="75%" y="62.5%" width="12.5%" height="12.5%" style="fill:#909279" />
    <rect x="87.5%" y="62.5%" width="12.5%" height="12.5%" style="fill:#81836b" />
    <rect x="0" y="75%" width="12.5%" height="12.5%" style="fill:#000000" />
    <rect x="12.5%" y="75%" width="12.5%" height="12.5%" style="fill:#6c6e57" />
    <rect x="25%" y="75%" width="12.5%" height="12.5%" style="fill:#909279" />
    <rect x="37.5%" y="75%" width="12.5%" height="12.5%" style="fill:#a2a58a" />
    <rect x="50%" y="75%" width="12.5%" height="12.5%" style="fill:#909279" />
    <rect x="62.5%" y="75%" width="12.5%" height="12.5%" style="fill:#a2a58a" />
    <rect x="75%" y="75%" width="12.5%" height="12.5%" style="fill:#6c6e57" />
    <rect x="87.5%" y="75%" width="12.5%" height="12.5%" style="fill:#000000" />
    <rect x="0" y="87.5%" width="12.5%" height="12.5%" style="fill:#212834" />
    <rect x="12.5%" y="87.5%" width="12.5%" height="12.5%" style="fill:#000000" />
    <rect x="25%" y="87.5%" width="12.5%" height="12.5%" style="fill:#81836b" />
    <rect x="37.5%" y="87.5%" width="12.5%" height="12.5%" style="fill:#909279" />
    <rect x="50%" y="87.5%" width="12.5%" height="12.5%" style="fill:#81836b" />
    <rect x="62.5%" y="87.5%" width="12.5%" height="12.5%" style="fill:#909279" />
    <rect x="75%" y="87.5%" width="12.5%" height="12.5%" style="fill:#000000" />
    <rect x="87.5%" y="87.5%" width="12.5%" height="12.5%" style="fill:#212834" />
    </svg>
    
goloz is a multi-player reimplementation of the link to the past game.
goloz is a multi-player reimplementation of the link to the past game.

goloz is a free and open source online multiplayer game.

Aug 29, 2022
This is an extremely basic 2 player online game.

myba This is an extremely basic 2 player online game. How to play Player one moves with WASD, player 2 moves with UHJK. Once both players are either h

Dec 7, 2021
Minecraft server made in go, faster and better!

ElytraGo Minecraft server made in go, faster and better! Project is in early stage, but I'm trying continuously update it with new lines of code :)) L

Dec 9, 2022
Go Minecraft Client
Go Minecraft Client

Steven Not actively maintained anymore A work in progress Minecraft client in Go. Don't expect it to go anywhere, just doing this for fun. Images Buil

Dec 23, 2022
⛏ 🐹 Minecraft Protocol implementation in Go
⛏ 🐹 Minecraft Protocol implementation in Go

illustration by @talentlessguy Install Go 1.16.x is required to use this library go get github.com/BRA1L0R/go-mcproto Opening a connection client := m

Sep 20, 2022
Regolith is an Addon Compiler for the Bedrock Edition of Minecraft.

Much like bridge v2, Regolith introduces the concept of a "project folder", where your addons are written, including the RP, the BP, and any models, textures or configuration files. This single-folder-structure is great for version control, and allows you to keep your "source-of-truth" outside of com.mojang.

Nov 13, 2022
Minecraft server implementation using Golang

Deepslate Deepslate is a Minecraft server implementation in Go. Deepslate if WIP and currently not available for installation Goals First implementati

Nov 19, 2021
Minecraft Bedrock Edition server software written in Go
Minecraft Bedrock Edition server software written in Go

Dragonfly Dragonfly is a heavily asynchronous server software for Minecraft Bedrock Edition written in Go.

Jan 3, 2023
Scalable game server framework with clustering support and client libraries for iOS, Android, Unity and others through the C SDK.

pitaya Pitaya is an simple, fast and lightweight game server framework with clustering support and client libraries for iOS, Android, Unity and others

Jan 2, 2023
Tile is a 2D grid engine, built with data and cache friendly ways, includes pathfinding and observers.
Tile is a 2D grid engine, built with data and cache friendly ways, includes pathfinding and observers.

Tile: Data-Oriented 2D Grid Engine This repository contains a 2D tile map engine which is built with data and cache friendly ways. My main goal here i

Dec 26, 2022