CMM2 LIBRARY
4 State Linear Automata 1 by yock1960 (GRAPHICS/SCIENCE, updated 19-04-2021 10:15:51) UPDATE
Automata

A program to explore cellular automata, in this case, 4 state linear automata. A cousin to the well known 'Game of Life', but with an initial state or generation as 1 line, that propagates linearly, down the screen. This program is the 'grandchild' of a program written for the Commodore 64 and published in the magazine 'The Transactor', back in the mid 1980's.

Amazin 1.0.0 by William M Leue (DEMO/GRAPHICS/SCIENCE, updated 11-05-2021 19:45:33) UPDATE
Create and solve maze

Creates a random maze, runs it, and then shows the solved path with excursions into blind alleys removed. Uses a depth-first recursive algorithm for both maze creation and solving.

Analog Clock 1.0.0 by William M Leue (GRAPHICS, updated 20-07-2021 01:11:33) UPDATE
Large clock

A large analog clock face. Parameters at the top of the source allow you to choose 12 or 24-hour display and whether to play hourly chimes or not.

Binary Coded Decimal Clock 1.0.0 by William M Leue (GRAPHICS, updated 10-05-2021 16:42:53) UPDATE
A little different clock

A clock whos display consists of 6 columns of colored squares that represent the digits of the hour (2 leftmost columns), minutes (2 center columns), and second. (2 rightmost columns) From bottom to top, the row values are powers of 2: 1, 2, 4, and 8. Each square shows a bright color when active. For instance, at 07:39:06, the illuminated squares are (left to right): column 1: nothing (0); column 2: yellow, green, blue (1+2+4=7); column 3: yellow, green (1+2=3); column 4: yellow, red (1+8=9); column 5: nothing (0); column 6: green, blue (2+4=6).

Color Wheels 1.0.0 by William M Leue (DEMO/GRAPHICS, updated 12-05-2021 16:49:03) UPDATE
Color demo

Color wheels showing all possible colors in 8, 12, or 16-bit color modes.

Etch a Sketch 1.0 by bar1010 (GRAPHICS, updated 11-07-2021 10:51:36) UPDATE
Simple drawing

Etch a Sketch allows the user to draw lines in eight directions with 256 colors in resolution 1280 x 1024. There is support for drawing simple shapes such as circles, ellipses, arcs, triangles and rectangles. The pen can be toggled up/down. Also included is Save, Load, and clear screen functionality.

Function Grapher Demos by bar1010 (DEMO/GRAPHICS/EDUCATION, updated 23-04-2021 18:57:13) UPDATE
2D functions demo

Two function grapher demos are included. Function Grapher 2D Cartesian Coordinates Function Grapher Polar Coordinates Both demos show plotting of points on grids in a slideshow type manner. Each function is displayed at the top left of the screen.

Galton 1.0.0 by William M Leue (DEMO/GRAPHICS/SCIENCE/EDUCATION, updated 19-07-2021 09:56:33) UPDATE

Simulates a Galton Board, showing how a Binomial Distribution (a discrete approximation of a normal curve) can be built up from a sequence of random events.

Grandfather Clock 1.3.0 by William M Leue (GRAPHICS, updated 10-05-2021 16:42:36) UPDATE
A little different clock

A grandfather clock that displays the current 12-hour time on the main face, the phase of the moon on the top bow, and the sunrise and sunset times, the current date, and the UTC 24-hour time on inset digital windows. If the user puts his correct latitude, longitude, UTC offset hour, and local elevation above sea level into the constants at the top of the source code, all displayed values will be accurate for his locality.

Graphics Programming on the CMM2 3f by Doug Pankhurst (panky) (GRAPHICS/DOCS, updated 06-04-2021 09:40:43) UPDATE
A detailed tutorial on the graphics capabilities of the Color Maximite 2.

This is a compilation of the threads posted by Peter Mather as a background and deeper explanation of the graphics capabilities of the CMM2. I have taken the liberty (with Peters OK), to post them on the forum with some additional comments and explanations of recent developments in the hope that they will assist others in realising the full potential of the CMM2.

Hextiles 1.0.0 by William M Leue (DEMO/GRAPHICS, updated 12-05-2021 16:48:20) UPDATE
Hexagon demo

Another Demo program: fills the screen with a grid of hexagons that change color and size over a cycle of several minutes. I wrote this years ago in C for the Mac "After Dark" screen saver environment.

Kaleidoscope 1.1.1 by William M Leue (DEMO/GRAPHICS, updated 10-05-2021 17:05:49) UPDATE
Graphic effects

A simulated kaleidoscope that creates an ever-changing display of colored figures with 8-fold symmetry in a round field.

KitKatClock 1.1.0 by William M Leue (GRAPHICS, updated 10-05-2021 16:43:02) UPDATE
A little different clock

An emulation of the classic "Kit Kat Clock" with moving eyes and swinging tail.

Maze programs by bar1010 (GAME/GRAPHICS, updated 25-04-2021 23:30:42) UPDATE
Different mazes

Here are several of my 2 dimensional and 3 dimensional maze programs. Some involve finding a key before one can descend the ladder to the next lower level which increases in size a little each time. There are treasures to collect along the way. One version features colored walls, others have vector style graphics. There is a version which features multiple levels with many up and down ladders. Another version includes multi-screen 2 dimensional mazes. Some of these versions include a compass and ability to view a map/top view. Finally there is a 2D version which includes monsters.

Mazist v0.99 by Geoff Camp (Goksteroo) (GAME/GRAPHICS, updated 27-04-2021 02:33:50) UPDATE
Maze generator and solver

2D maze generation/solving program. Mazes can be 10x10 to 99x69. Included Save/load mazes for solving over several sessions, zoom function for small screens or poor eyesight or kids, mouse solve routines when you give up on a maze, mark trails or points in the maze to aid in solving.

New Colors Test 1.0.0 by William M Leue (TOOL/GRAPHICS, updated 15-07-2021 12:33:31) UPDATE
Named colors preview

A test program for viewing and analyzing all 16 "named" colors in every possible color bit depth using 5.07 or later firmware. You can look at the colors with any of the 3 bit depths (8,12,16) and if you have Gen 2 hardware, in 32-bit depth. The colors are shown with their names, hex values and r,g,b component values. This program requires firmware 5.07 or later!

PythgagTree 1.0.0 by William M Leue (DEMO/GRAPHICS, updated 08-07-2021 19:35:38) UPDATE
Fractal paint

Draws a Pythagoras Tree fractal.

Radar Air Traffic Control 1.1.0 by William M Leue (GRAPHICS/SCIENCE, updated 18-05-2021 00:27:53) UPDATE
Radar screen simulator

A simulation of an analog radar screen with sweep and phosphor exponential brightness decay. A user-selectable number of simulated radar targets are shown, and a table shows transponder ID, range, and bearing for each target. Table values can be sorted by each target value and sorts can be changed to be up or down.

SimplEd 0.42 by JirSoft (TOOL/GRAPHICS, updated 18-07-2021 00:04:14) UPDATE
Font editor for fonts used by PRINT and TEXT commands.

Font editor for CMM2 fonts (created fonts can be used in MMBasic's PRINT and TEXT commands). Operations like edit, rotate, shift, inverse, fill... Import from BAS, INC and FNT files, font can be also scanned from any image, HT and PS/2 mouse support.
With help of SimplEd.CFG can be defined key shortcuts and on-screen-help, sample file is on GitHub. There is also short program Show_Keys.BAS, it can be used for finding proper key combination needed...
Macros can be saved/loaded to/from text file, so you can build a macro-library.

SlashMaze 1.0.0 by William M Leue (DEMO/GRAPHICS, updated 12-05-2021 16:48:07) UPDATE
Commodore like RND maze

An emulation of the famous Commodore Pet "10PRINT" one-line BASIC maze generator. On the Pet, the characters were made on an 8x8 pixel grid, and the forward and backward slash characters filled that grid from corner to corner, which made the one-line program possible. This program for CMM2 produces the same result, but alas, with more lines of BASIC.

SpinClock 1.1.2 by William M Leue (GRAPHICS, updated 10-05-2021 16:42:45) UPDATE
A little different clock

A digital clock that can be set to show 12-hour or 24-hour time by changing a constant at the top of the source code. Each large digit is made up of a 4 x 6 rectangle of small "clock dials" that spin to different positions when the digits of the current time change.

Truchet Tiles 1.0.0 by William M Leue (DEMO/GRAPHICS, updated 12-05-2021 16:48:31) UPDATE
Tile demo

A random, infinitely scrolling maze made of Truchet Tiles. The colors gradually change over a time period of a few minutes.

xDragon Game Engine 0.1 by Epsilon (DEMO/GAME/TOOL/GRAPHICS, updated 25-05-2021 17:24:48) UPDATE
A CMM2 Game Engine.

xDragon is a 2D game engine in tune with the CMM2 feature set. The engine is geared towards arcade style action games such as shooters, platformers, top-down racers etc.