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.
Load 3D-BBC.bas into a BBC Micro (or an emulator such as the ones in
GenX-DOS) and RUN.
The lines are set in code, near the foot of the program:
line$(1)="Retro Jack's"
line$(2)=CHR$230+" Boomer "+CHR$230Edit 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.
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.