# Cubic BÃ©zier curves demo - 1.1

An attempt at implementing cubic BÃ©zier curves in Pygame.

David

(animatinator)

My attempt at implementing cubic BÃ©zier curves in Pygame.
You can drag the points around with the mouse, and use the up and down arrow keys to move the little blob thingy along the path (a quick example of BÃ©zier curves being used as paths). Use the C key to toggle the blob-thing on and off, and the D key to show or hide funky intermediate lines (used in calculating the points on the curve).

### Changes

A quick minor update; now you can drag the curve (I used an incredibly hackish method of checking the distance between the mouse and various points along the curve for this :P).

### Links

- Home Page
- http://www.pygame.org
- Source
- http://www.pasteall.org/6296/python

### Releases

Cubic BÃ©zier curves demo 1.0 — 22 Jun, 2009

Cubic BÃ©zier curves demo 1.1 — 24 Jun, 2009