normal order

Monday, March 6, 2017

butterfly curve

Temple Fay discovered this complicated curve in 1989. It can be defined either parametrically or as a polar equation; I did it the former way.

One application I thought of for this is object motion in games: I tried it out by writing this little Canvas game, where the comets follow the curve's trajectory. The differences in plot density along the curve create natural-looking comet tails.

Posted by sacheie at 3:08 AM 0 comments
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: parametric curves, plane geometry, real numbers
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ►  2019 (1)
    • ►  June (1)
  • ►  2018 (2)
    • ►  May (1)
    • ►  March (1)
  • ▼  2017 (6)
    • ►  December (1)
    • ►  May (1)
    • ▼  March (1)
      • butterfly curve
    • ►  February (3)
  • ►  2016 (5)
    • ►  June (1)
    • ►  March (1)
    • ►  February (2)
    • ►  January (1)
  • ►  2015 (11)
    • ►  December (4)
    • ►  November (1)
    • ►  August (1)
    • ►  July (1)
    • ►  June (1)
    • ►  March (1)
    • ►  February (2)
  • ►  2014 (3)
    • ►  September (1)
    • ►  August (1)
    • ►  January (1)
  • ►  2012 (2)
    • ►  July (1)
    • ►  April (1)
  • ►  2011 (4)
    • ►  October (1)
    • ►  June (1)
    • ►  May (1)
    • ►  February (1)
  • ►  2009 (1)
    • ►  October (1)
Powered by Blogger.