Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
a Tiny Basic Forum
#1
hi thought to share here...

i found a very new forum dedicated to BASIC programming - it has a QB64 board and other basic's like freebasic and GW-Basic - not much stuff is on it right now...

in case you are interested : https://back-to-basic.freeforums.net/

in case this post violets any community rules please remove it :/ thank you.

have a nice day.
aka ron77
Reply
#2
looks like ron77 is back at it again, another forum Smile by the title I thought it might be Ed Davis
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply
#3
ron somethings wrong with your translation of dunny
Code: (Select All)
10 Rem ROTATE A TRIANGLE ON THE SCREEN - CREDIT ZXDUNNY 2023-10-06
20 Screen _NewImage(800, 600, 256): Cls: T = 0
30 X1 = -90: Y1 = 50: X2 = 90: Y2 = 50: X3 = 0: Y3 = -90
40 While InKey$ = ""
    45 Cls
    50 CO = Cos(T * 0.0174533): SO = Sin(T * 0.0174533)
    60 NX1 = (X1 * CO - Y1 * SO) + 400
    70 NY1 = (X1 * SO + Y1 * CO) + 300
    80 NX2 = (X2 * CO - Y2 * SO) + 400
    90 NY2 = (X2 * SO + Y2 * CO) + 300
    100 NX3 = (X3 * CO - Y3 * SO) + 400
    110 NY3 = (X3 * SO + Y3 * CO) + 300
    115 'NY1 = NY1 / 2: 'NY2 = NY2 / 2: 'NY3 = NY3 / 2
    120 Line (NX1, NY1)-(NX2, NY2)
    130 Line (NX2, NY2)-(NX3, NY3)
    140 Line (NX3, NY3)-(NX1, NY1)
    Circle (400, 300), 90
    146 T = T + 1: _Limit 60
150 Wend

'compare to this
Screen _NewImage(800, 600, 256)
cx = _Width / 2: cy = _Height / 2: radius = 250 'center screen for origin
While _KeyDown(27) = 0
    Cls
    a = a + 1
    If a = 360 Then a = 0
    Orbit cx, cy, a, radius, x, y
    Orbit cx, cy, a + 120, radius, X1, Y1
    Orbit cx, cy, a + 240, radius, X2, Y2
    Line (x, y)-(X1, Y1)
    Line (X1, Y1)-(X2, Y2)
    Line (X2, Y2)-(x, y)
    Circle (400, 300), radius
    _Limit 60
    _Display
Wend
Sub Orbit (X_Origin, Y_Origin, Degrees, Radius, xOut, yOut) ' all default single  should be ok
    xOut = X_Origin + Radius * Cos(_D2R(Degrees))
    yOut = Y_Origin + Radius * Sin(_D2R(Degrees))
End Sub
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Just in case anyone doesn't fully appreciate this forum... Pete 8 869 09-06-2025, 06:37 PM
Last Post: SMcNeill
  A strange experience with forum posting an image TempodiBasic 2 535 06-17-2025, 06:01 AM
Last Post: TempodiBasic
  BASIC is 60 years old bert22306 12 2,273 07-29-2024, 05:19 PM
Last Post: bobalooie
  When BASIC was at the top, do you agree? TempodiBasic 25 4,349 07-11-2024, 10:31 PM
Last Post: Pete
  Tutorial Forum Section TerryRitchie 2 761 05-31-2024, 07:50 PM
Last Post: TerryRitchie

Forum Jump:


Users browsing this thread: 1 Guest(s)