1
0
Fork 0
mirror of https://github.com/NixOS/nixos-artwork synced 2024-10-18 00:06:24 -04:00
nixos-artwork/ng/readme.md
Cabia Rangris d1aaad6b53
Precise Nix logo rework (aka genix7000) (#84)
* logo-ng: initial

* fixed exporting script for newer inkscape, fixed export configs

* Applying some of the nits
2024-02-15 08:03:16 -08:00

1.4 KiB

Precise Nix logo rework (aka genix7000)

Logo versions for use are in "out" folder

This is a Nix logo version, generated in OpenSCAD and pinned to a hex grid. Differences between generated and original versions are neglidgible:

Old and new logos, overlayed

Blue is a newer version, red is an older version

Here's a "hexgrid" version, which shows the proportions better:

Nix logo with different weights

Why OpenSCAD?

Having most of the logo parametrized allows to generate logos with different weights with ease

   for (gap=[1:5]) {
        $gaps = gap * 2;
        translate([(gap - 1) * 160,((gap - 1) % 2) * 160])
        difference()
        render_logo();
    };

Nix logo with different weights

It also allows to easily animate the logo — here's an example — e.g if you want to have minimalistic plymouth animation.

3D Printing

nix.scad can also export several 3D printing models — single-module smaller versions, and separate, composable lambdas — if you wish to build yourself a huge Nix logo. Nix logo module

Hacking on it

Run nix-shell -p openscad if you don't have an OpenSCAD yet, and then open nix.scad in it.

If you wish to export colored logos, modify and use ./export-color-svgs.sh in this folder.

3D printing models