log in | register | forums
Show:
Go:
Forums
Username:

Password:

User accounts
Register new account
Forgot password
Forum stats
List of members
Search the forums

Advanced search
Recent discussions
- Archive 27:3 has landed (News:)
- WROCC December 2024 talk o...- Andrew Rawnsley (R-Comp) (News:)
- RISC OS 'Advent' Calendar 2024 - David Pitt (News:)
- Elsear brings super-fast Networking to Risc PC/A7000/A7000+ (News:)
- November 2024 News Summary (News:1)
- Latest hardware upgrade from RISCOSbits (News:)
- WROCC November 2024 talk o...ay - Andrew Rawnsley (ROD) (News:3)
- Accessing old floppy disks (Gen:3)
- November developer 'fireside' chat on saturday night (News:)
- RISCOSbits releases a new laptop solution (News:4)
Latest postings RSS Feeds
RSS 2.0 | 1.0 | 0.9
Atom 0.3
Misc RDF | CDF
 
View on Mastodon
@www.iconbar.com@rss-parrot.net
Site Search
 
Article archives
The Icon Bar: Programming: Drawing symmetrical objects symmetrically
 
  Drawing symmetrical objects symmetrically
  Cauchy (18:50 20/8/2018)
 
John O'Meara Message #124329, posted by Cauchy at 18:50, 20/8/2018
Member
Posts: 43
Enter into BASIC and in immediate mode type the following code. Please.
VDU 29, 639;400;
MOVE -100,0
DRAW -99,-40
MOVE 100,0
DRAW 99,40
REM At this stage the two "curves" are not
REM drawn symmetrically about (0,0)although their coordinates are. We continue
MOVE -99,-40
DRAW -98,-80
MOVE 99,40
DRAW 98,80
MOVE -98,-80
DRAW -97,-120
MOVE 98,80
DRAW 97,120
ETC.
When I try to draw my own circle using BASIC, at first glance the drawn circle may look symmetrical but on inspection it is not. BASIC's CIRCLE command does draw circles symmetrically. I used to be able to do too a long while ago but have now forgotten how. Could any one please help. Thank you.
  ^[ Log in to reply ]
 

The Icon Bar: Programming: Drawing symmetrical objects symmetrically