GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — smallbasic.github.io/samples/node/1267.bas at master · smallbasic/smallbasic.github.io

Expand file tree

/

1267.bas

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
34 lines (32 loc) · 817 Bytes
/

1267.bas

Copy path

File metadata and controls

34 lines (32 loc) · 817 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
'FULL SCREEN LAVA.BAS SMALLBASIC 0.12.0 2015-11-18 MGA/B+
'MANY MODIFICATIONS TO LAVA FROM THE CODE LIBRARY
DM=500
DIM CX(1 TO DM),CY(1 TO DM),CC(1 TO DM),COLR(100)
RANDOMIZE TIMER
FOR I=0 TO 100
R=RND
IF I MOD 3=0 THEN
COLR(I)=RGB(0,0,0)
ELIF I MOD 3=1
COLR(I)=RGB(R*255,0,0)
ELSE
COLR(I)=RGB(R*127+128,R*127+64,0)
FI
NEXT
FOR K = 1 TO DM
CX(K) = INT(RND*XMAX)
CY(K) = INT(RND*YMAX)
CC(K)=COLR(INT(RND*41))
NEXT K
REPEAT
RECT 0,0,XMAX,YMAX,0
PAINT INT(RND*(XMAX-2))+1,INT(RND*(YMAX-2))+1, COLR(INT(RND*101)),0
FOR K=1 TO DM
CIRCLE CX(K),CY(K),RND*8+2,RND*.6,CC(K) FILLED
CX(K)=CX(K)+INT(RND*6)
IF CX(K)>XMAX-10 THEN CX(K)=10
CY(K)=CY(K)+INT(RND*9)-4
IF CY(K)<5 OR CY(K)>YMAX-5 THEN CY(K)=RND*(YMAX-10)+5:CX(K)=10
NEXT K
SHOWPAGE
UNTIL LEN(INKEY$)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.