# fogleman/primitive mit Windows

<span class="author ml-2 flex-self-stretch">Reproduktion von Bildern mit geometrischen Primitiven. das Tool erzeugt wohlgefällige Grafiken. </span><span class="author ml-2 flex-self-stretch">Quelle: </span>[primitive](https://github.com/fogleman/primitive)

[![grafik.png](https://wiki.stadtfabrikanten.org/uploads/images/gallery/2025-05/scaled-1680-/QGaftiIGWJ8M4Xou-grafik.png)](https://wiki.stadtfabrikanten.org/uploads/images/gallery/2025-05/QGaftiIGWJ8M4Xou-grafik.png)

## <span class="author ml-2 flex-self-stretch">Google Go Installieren</span>

<span class="author ml-2 flex-self-stretch">[https://go.dev/dl/](https://go.dev/dl/)</span>

## <span class="author ml-2 flex-self-stretch">Primitive Projekt klonen</span>

Öffnen einer neuen cmd-Shell und ausführen:

```bash
go get -u github.com/fogleman/primitive
```

<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code" id="bkmrk--1" style="border-width: 1px;"><div class="codeContent panelContent pdl"></div></div>## Windows 64 Bit Executable erzeugen

<span class="author ml-2 flex-self-stretch">https://github.com/golang/go/wiki/WindowsCrossCompiling</span>

```bash
cd C:\
git clone https://github.com/fogleman/primitive.git
cd primitive
set GOOS=windows
set GOARCH=amd64
go build -o primitive.exe main.go
```

[![grafik.png](https://wiki.stadtfabrikanten.org/uploads/images/gallery/2025-05/scaled-1680-/h2b4rkZyOlXFwWr4-grafik.png)](https://wiki.stadtfabrikanten.org/uploads/images/gallery/2025-05/h2b4rkZyOlXFwWr4-grafik.png)