This is a C-SDL Drawing Demo
it does demonstrate how...
- to apply De Casteljau's algorithm on quadratic Bézier curves.
Linking against: SDL2 SDL2_image SDL2_gfx
arch: sudo pacman -S sdl2 sdl2_gfx sdl2_image
On other Distros look out for ... and so on:
deb/apt: libsdl2, libsdl2-dev
rpm/yum: SDL2, SDL2-devel
git clone [email protected]:Acry/SDL2-Pong.git
cd SDL2-Pong
make
will build native Linux executeables.
1
, 2
, 3
are wip builds.
casteljau
is the final build
Nils Pipenbrinck aka Submissive/Cubic & $eeN
SDL2
SDL-Discourse