Skip to main content
Commonmark migration
Source Link

##QBIC, 98 94 bytes

QBIC, 98 94 bytes

$SCREEN 11|:i=6.3/a j=230[0,a|[b,a|line(cos(b*i)*j+j,sin(b*i)*j+j)-(cos(c*i)*j+j,sin(c*o)*j+j)

I've converted my original QBasic answer @LevelRiverSt 's answer to QBIC. I thought this would rely too heavily on functions that are not built into QBIC to be feasible, but as it turns out, it saves another 90 bytes. Substituting the DRAW for LINE saves another 80 bytes. I knew I was forgetting something simple...

When run with a command line parameter of 36, it looks like this:

enter image description here

##QBIC, 98 94 bytes

$SCREEN 11|:i=6.3/a j=230[0,a|[b,a|line(cos(b*i)*j+j,sin(b*i)*j+j)-(cos(c*i)*j+j,sin(c*o)*j+j)

I've converted my original QBasic answer @LevelRiverSt 's answer to QBIC. I thought this would rely too heavily on functions that are not built into QBIC to be feasible, but as it turns out, it saves another 90 bytes. Substituting the DRAW for LINE saves another 80 bytes. I knew I was forgetting something simple...

When run with a command line parameter of 36, it looks like this:

enter image description here

QBIC, 98 94 bytes

$SCREEN 11|:i=6.3/a j=230[0,a|[b,a|line(cos(b*i)*j+j,sin(b*i)*j+j)-(cos(c*i)*j+j,sin(c*o)*j+j)

I've converted my original QBasic answer @LevelRiverSt 's answer to QBIC. I thought this would rely too heavily on functions that are not built into QBIC to be feasible, but as it turns out, it saves another 90 bytes. Substituting the DRAW for LINE saves another 80 bytes. I knew I was forgetting something simple...

When run with a command line parameter of 36, it looks like this:

enter image description here

added 6 characters in body
Source Link
steenbergh
  • 8.2k
  • 1
  • 27
  • 43

##QBIC, 9898 94 bytes

$SCREEN 11|:i=6.3/a j=230[0,a|[b,a|d=b*i e=c*i linea|line(cos(db*i)*j+j,sin(db*i)*j+j)-(cos(ec*i)*j+j,sin(ec*o)*j+j)

I've converted my original QBasic answer @LevelRiverSt 's answer to QBIC. I thought this would rely too heavily on functions that are not built into QBIC to be feasible, but as it turns out, it saves another 90 bytes. Substituting the DRAW for LINE saves another 80 bytes. I knew I was forgetting something simple...

When run with a command line parameter of 36, it looks like this:

enter image description here

##QBIC, 98 bytes

$SCREEN 11|:i=6.3/a j=230[0,a|[b,a|d=b*i e=c*i line(cos(d)*j+j,sin(d)*j+j)-(cos(e)*j+j,sin(e)*j+j)

I've converted my original QBasic answer @LevelRiverSt 's answer to QBIC. I thought this would rely too heavily on functions that are not built into QBIC to be feasible, but as it turns out, it saves another 90 bytes. Substituting the DRAW for LINE saves another 80 bytes. I knew I was forgetting something simple...

When run with a command line parameter of 36, it looks like this:

enter image description here

##QBIC, 98 94 bytes

$SCREEN 11|:i=6.3/a j=230[0,a|[b,a|line(cos(b*i)*j+j,sin(b*i)*j+j)-(cos(c*i)*j+j,sin(c*o)*j+j)

I've converted my original QBasic answer @LevelRiverSt 's answer to QBIC. I thought this would rely too heavily on functions that are not built into QBIC to be feasible, but as it turns out, it saves another 90 bytes. Substituting the DRAW for LINE saves another 80 bytes. I knew I was forgetting something simple...

When run with a command line parameter of 36, it looks like this:

enter image description here

added 12 characters in body
Source Link
steenbergh
  • 8.2k
  • 1
  • 27
  • 43

##QBIC, 17898 bytes

$SCREEN 11|:i=6.3/a j=230[![enter image description here][1]][1][0j=230[0,a|[b,a|$DRAWa|d=b*i "BM|"+Oe=c*i line(cos(i*bd)*j+j)+@,|+O(sin(i*bd)*j+j)+@m|+O-(cos(i*ce)*j+j)+@,|+O(sin(i*ce)*j+j)
$FUNCTION o$(d):o$=LTRIM$(STR$(CINT(d))):END FUNCTION|

I've converted my original QBasicmy original QBasic answer @LevelRiverSt 's answer to QBIC. I thought this would rely too heavily on functions that are not built into QBIC to be feasible, but as it turns out, it saves another 90 bytes. Substituting the DRAW for LINE saves another 80 bytes. I knew I was forgetting something simple...

When run with a command line parameter of 36, it looks like this:

enter image description here

##QBIC, 178 bytes

$SCREEN 11|:i=6.3/a j=230[![enter image description here][1]][1][0,a|[b,a|$DRAW "BM|"+O(cos(i*b)*j+j)+@,|+O(sin(i*b)*j+j)+@m|+O(cos(i*c)*j+j)+@,|+O(sin(i*c)*j+j)
$FUNCTION o$(d):o$=LTRIM$(STR$(CINT(d))):END FUNCTION|

I've converted my original QBasic answer to QBIC. I thought this would rely too heavily on functions that are not built into QBIC to be feasible, but as it turns out, it saves another 90 bytes.

When run with a command line parameter of 36, it looks like this:

enter image description here

##QBIC, 98 bytes

$SCREEN 11|:i=6.3/a j=230[0,a|[b,a|d=b*i e=c*i line(cos(d)*j+j,sin(d)*j+j)-(cos(e)*j+j,sin(e)*j+j)

I've converted my original QBasic answer @LevelRiverSt 's answer to QBIC. I thought this would rely too heavily on functions that are not built into QBIC to be feasible, but as it turns out, it saves another 90 bytes. Substituting the DRAW for LINE saves another 80 bytes. I knew I was forgetting something simple...

When run with a command line parameter of 36, it looks like this:

enter image description here

Source Link
steenbergh
  • 8.2k
  • 1
  • 27
  • 43
Loading