Author Topic: Little help with circles/curves in BASIC  (Read 223 times)

0 Members and 1 Guest are viewing this topic.

Offline skylas

  • CPC6128
  • ****
  • Posts: 217
  • Country: gr
    • AMSTRAD SAKIS
  • Liked: 365
  • Likes Given: 401
Little help with circles/curves in BASIC
« on: 03:21, 20 March 21 »
Hi,
I am trying to make some circle shapes in BASIC, but I can only make typical circles following the original instructions manual.


My question is how i can make curve, similar to the sickle in the hammersickle symbol, or similar to the crescent moon symbol.

Any ideas? And what do I have to alternate in order to customize on my wish?
« Last Edit: 03:24, 20 March 21 by skylas »
Web: https://amstradsakis.blogspot.com
Twitter: https://twitter.com/AmstradSakis
My programs (only BASIC):
RETRO-LOADSHEET ON AMSTRAD CPC!
PENALTY KICKS!
CAPITAL QUIZ!
CAPITAL QUIZ 2! (Reverse edition)
HEADS OR TAILS (ΚΟΡΩΝΑ/ΓΡΑΜΜΑΤΑ)
HEART CHASER 1,2,3!
BARBOUTI!
STROOPIE!
BUDRUMI!

Offline Bryce

  • The Hardware Guy.
  • Supporter
  • 6128 Plus
  • *
  • Posts: 12.335
  • Country: wf
  • It's not broken, it just hasn't been fixed yet.
    • index.php?action=treasury
  • Liked: 4630
  • Likes Given: 484
Re: Little help with circles/curves in BASIC
« Reply #1 on: 11:08, 20 March 21 »
By learning some basic geometry: https://www.mathsisfun.com/geometry/circle.html and applying it in BASIC.

Bryce.

Offline skylas

  • CPC6128
  • ****
  • Posts: 217
  • Country: gr
    • AMSTRAD SAKIS
  • Liked: 365
  • Likes Given: 401
Re: Little help with circles/curves in BASIC
« Reply #2 on: 13:32, 20 March 21 »
I did not study much geometry to totally understand what I am doing, but i made many tries by changing many things on Con and Sin and I think I managed to understand better what effect each change does.
Web: https://amstradsakis.blogspot.com
Twitter: https://twitter.com/AmstradSakis
My programs (only BASIC):
RETRO-LOADSHEET ON AMSTRAD CPC!
PENALTY KICKS!
CAPITAL QUIZ!
CAPITAL QUIZ 2! (Reverse edition)
HEADS OR TAILS (ΚΟΡΩΝΑ/ΓΡΑΜΜΑΤΑ)
HEART CHASER 1,2,3!
BARBOUTI!
STROOPIE!
BUDRUMI!