Skip to content

Retro-Jack/BBC-3D-Text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

BBC-3D-Text

A BBC Micro BASIC program that renders text as solid 3D extruded blocks in MODE 1.

It prints each line of text flat, reads it back pixel by pixel with POINT, and draws a little raised box for every lit pixel — top, side and front faces shaded in different colours with PLOT triangles — so the words rise off the screen at an angle. The result holds for a few seconds, then the program returns to MODE 7.

Running it

Load 3D-BBC.bas into a BBC Micro (or an emulator such as the ones in GenX-DOS) and RUN.

Your own text

The lines are set in code, near the foot of the program:

line$(1)="Retro Jack's"
line$(2)=CHR$230+" Boomer "+CHR$230

Edit those, and pick a layout with style%. Six styles trade lines against letters-per-line:

Style Lines Letters/line
1 3 13
2 3 6
3 2 13
4 2 6
5 1 13
6 1 6

Fewer, larger letters extrude more dramatically; more lines pack the screen.

Note

This is Acorn BBC BASIC and uses BBC-specific graphics (MODE, VDU, PLOT, POINT, GCOL), so it won't run unchanged on other BASIC dialects.

About

A BBC Micro BASIC program that renders 3D text in MODE 1

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages