thebookofshaders/07/SUMMARY.md
Patricio Gonzalez Vivo ce98876cad adding subnails
2016-04-23 14:13:44 -04:00

2 lines
387 B
Markdown
Executable File

Let's look at how to draw simple shapes in a parallel procedural way. In a nutshell, all you need to do is to determine if each pixel belongs to the shape you want to draw or not, and apply different colors accordingly. You can use coordinate system like a grid paper to draw rectangles and squares. We'll look at more advanced concept called distance field to draw more complex shapes.