Skip to content

Instantly share code, notes, and snippets.

View oonap0oo's full-sized avatar

Kurt Moerman oonap0oo

View GitHub Profile
@oonap0oo
oonap0oo / firsttest.bf
Created May 15, 2026 11:27
First test of basicFusion 2.0.6, simple code example
rem First test
w=640: h=480
hw=w/2: hh=h/2
screen 12
for x=-hw to hw
xx=0.85*x
for y=-hh to hh
yy=0.85*y+150
d=abs(xx^3/4E4-xx+yy*3-yy^2/1E2)
r=d % 256
@oonap0oo
oonap0oo / test_colors_in_console_ansi.py
Created March 21, 2025 21:49
Experimenting with Python and colors in the console. Modified ANSI escape codes from the web into some Python dictionaries for easier use. Something to keep for future projects
#!/usr/bin/env python3
#
# test_colors_in_console_ansi.py
#
# Copyright 2025 Nap0
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.