Page 1 of 1

Bézier Curves

Posted: Sat Aug 08, 2015 6:59 am
by wtg62
Yet another experiment, https://dl.dropboxusercontent.com/u/556 ... ezier.html
Bézier Curves of any degree can be visualized! You can also visualize straight lines, but that's sort of pointless. :P

Re: Bézier Curves

Posted: Sat Aug 15, 2015 9:12 pm
by testtubegames
Cool - I now understand Bezier Curves better than I ever did before.

...that is, until I did one of order 100. Got real trippy real fast :)
Screen Shot 2015-08-15 at 9.10.33 PM.png
Screen Shot 2015-08-15 at 9.10.33 PM.png (339.59 KiB) Viewed 22423 times
Pretty psychedelic!

Re: Bézier Curves

Posted: Sat Aug 15, 2015 10:43 pm
by wtg62
Hah, try doing one with each point going around the canvas in each corner, one in the upper right, upper left, bottom left, bottom right, and repeat that for a lot of points. The visualization looks really cool.

Re: Bézier Curves

Posted: Sun Aug 16, 2015 10:47 am
by A Random Player
wtg62 wrote:Hah, try doing one with each point going around the canvas in each corner, one in the upper right, upper left, bottom left, bottom right, and repeat that for a lot of points. The visualization looks really cool.
Try a square or pentagon, too! Whoaaa, spinning squares. Relates to geometric sequences in some way. (Haha, because it's very geometric?)
Also try a back-and-forth pattern. (Ex. (-100, -50), (100, -40), (-100, -30), (100, -20), etc. in Cartesian coordinates - very rough, and horizontal/vertical scale won't matter a lot). It's a straight line, except when it's not.
Similarly, try something like (-100, -50), (100, -50), (100, -40), (-100, -40), (-100, -30), (100, -30), etc.

If you think about it, Bézier Curves are just a 2D glorified binomial theorem :P

Re: Bézier Curves

Posted: Tue Aug 18, 2015 1:42 pm
by wtg62
The canvas is 1024x512, so the corners are at (0,0), (1024,0), (0,512), and (1024,512).
If you want to consider the center of the canvas as (0,0), then the corners are (-512,-256), (512,-256), (-512,256), & (512,256).