Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/cab404/genix7000
- Owner: cab404
- Created: 2021-11-06T21:27:56.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-12T15:31:56.000Z (9 months ago)
- Last Synced: 2024-04-14T00:21:20.195Z (9 months ago)
- Topics: joke, lambda, nix, nixos, openscad
- Language: OpenSCAD
- Homepage:
- Size: 236 KB
- Stars: 37
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSES/GPL-3.0-or-later.txt
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 commandArguments:
- `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*