Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cab404/genix7000

yeah, an icon generator for nix porjects
https://github.com/cab404/genix7000

joke lambda nix nixos openscad

Last synced: 2 months ago
JSON representation

yeah, an icon generator for nix porjects

Awesome Lists containing this project

README

        

Genix7000
===

![this has gone too far](./genix.png)

**Fire all of your designers, Tweag, Serokell, Flox (and all other Nix-y companies)!**
This is the ultimate, parametric and reproducible solution to all your branding problems!

It kinda went out of control, and I've made an openscad customizer, which supports a really wide range of Nix logos. Including original one.

### Install

Just [install Nix](https://zero-to-nix.com/concepts/nix-installer)

#### GUI

To start user interface

```bash
nix run github:cab404/genix7000
```

![Image](./screenshot.jpg)

#### CLI

To export as image without GUI

```bash
nix run github:cab404/genix7000#to-image -- mynix.png "\#cd3535" "\#cd6b35" "\#cdb835"
nix run github:cab404/genix7000#to-image -- mynix.svg
nix run github:cab404/genix7000#to-image -- mynix.mp4 --animation '{ thick: ($thick + $i / 2), rotation: ($rotation - $i) }' --thick 1
```

Flags:
- `--num `: Number of lambdas (default: 7)
- `--thick `: Lambda thickness (default: 20)
- `--imgsize `: Image size in px (default: '860,860')
- `--offset `: Offset of lambda (default: '-30,-40')
- `--gaps `: Offset after clipping. Use for gaps. (default: '-2,-2')
- `--rotation `: Rotation of each lambda (default: 0)
- `--angle `: Lambda arm angle (default: 30)
- `--camera `: Image camera (default: '0,0,480,0,0,0')
- `--clipr `: Clipping ngon radius (default: 90)
- `--cliprot `: Clipping ngon rotation (default: 90)
- `--clipinv `: Inverse clipping order (default: false)
- `--animation `: video animation function (default: '{ rotation: ($rotation - $i) }')
- `--fps `: video frame rate (default: 15)
- `--duration `: video duration (default: 5)
- `-h, --help`: Display the help message for this command

Arguments:
- `outfile `: Image filename, ie mynix.svg, mynix.mp4 (optional, default: 'mynix.png')
- `...colors `: colors to use, ie "\#cd3535" "\#cd6b35" "\#cdb835"

### Developing

Run `nix run`, and you are good to go!

Also, you can try using customizer on Thingiverse, but it's baaaad.
Thing on thingiverse: https://www.thingiverse.com/thing:5100695

*ehm, I just wanted to do a Nix logo, but a pentagram*