---
description: Trains a generator to output 2d points (pixels) matching a known distribution.
---

# 2D

![](https://j.gifs.com/NxRKnD.gif)

Runs fine on CPU.

Source: [https://github.com/HyperGAN/HyperGAN/blob/master/examples/2d-distribution.py](https://github.com/HyperGAN/HyperGAN/blob/master/examples/2d-distribution.py)
