暂无描述

rexim 7ca8a10c91 Make the titles of screencasts clickable 4 年之前
.gitignore 1194557eab Split cpu and gpu implementations 4 年之前
LICENSE 8f2b65df5e Ready. Set. Go! 4 年之前
Makefile 1194557eab Split cpu and gpu implementations 4 年之前
README.md 7ca8a10c91 Make the titles of screencasts clickable 4 年之前
common.h 1194557eab Split cpu and gpu implementations 4 年之前
cpu.c dc83abdaec [GPU] make the threshold customizable with mouse wheel 4 年之前
gpu.c 9bc1f88658 [GPU] Enable cool gradient thingie 4 年之前
gpu.frag 5534b79c30 Additional work 4 年之前
gpu.vert 1194557eab Split cpu and gpu implementations 4 年之前
thumbnail-cpu.png 76467fc3df Implement degree 3 bezier curve purely in Fragment Shaders 4 年之前
thumbnail-gpu.png 6ccbde1df7 Update GPU thumbnail 4 年之前

README.md

Bézier Curve

Just a fun little project to learn how to render Bézier Curves.

CPU implementation

thumbnail-cpu

GPU implementation

thumbnail-gpu

Screencasts

Thumbnail Link
thumbnail Coding Bézier Curves — Day 1
thumbnail Bézier Curves using OpenGL Fragment Shader — Day 2

Quick Start

$ make
$ ./cpu
$ ./gpu

References