Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by HarHarVeryFunny

15 hours ago

Just tried the:

y -= x >> 4;

x += y >> 4;

Certainly works, and seems to require 100 iterations to get a full circle.

Are there other approximations, taking smaller angular steps, to get a better circle?

0 comments

HarHarVeryFunny

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities