Roger Meier's Open-Source Projects

About Me

My name is Roger Meier, and I am NOT a professional programmer. Writing my own programs is a hobby that I picked up when I couldn't find any decent (if at all) freeware or shareware for certain tasks for which I wanted to use a computer.

I picked Xojo (formerly REALBasic) as my language of choice for several reaons, including its structure, its "object-orientness", its capability to create executables for Mac OS X, Windows, and Linux Platforms, and last but not least for its fairly large and helpful user community.

Here I'm hosting open-source code that may be generally useful. Current open-source projects are listed in the table below. Simply click a project name to download the project archive.

DISCLAIMER: ALL SOURCE CODE IS PUBLIC DOMAIN, AND PROVIDED "AS IS" WITHOUT ANY WARRANTY.

I have also created a number of small Freeware Applications and Tools that you might be interested in.

Visit my
Forums
Subscribe
to my Feed
Follow me
on Twitter
Visit my
Blog
Email me
Visit my Forums
Subscribe to my Freeware RSS Feed
Follow me on Twitter
Send me E-Mail
Send me E-Mail

Donations

If you think my work is useful to you and would like to donate, please click on the button below.

Current Projects

Project Name
Version
Description
OpenSimpleTerm


Source Code
v1.1.2
5/04/2021

A bare-bones version of CoolTerm released as an opensource project. Written in Xojo.


OpenVisualTimer


Source Code
v1.0.0
7/13/2020

A previous version of VisualTimer released as an opensource project. Written in Xojo.


Complex Utilities


Source Code
v1.0
7/9/2006

A REALBasic class that implements support for complex numbers with Double precision. Standard operators are overloaded, and many other mathematical functions are implemented to work with complex numbers. Comes with a module with wrapping functions for convenience, as well as a test harness for quick verification.


DataPlot Classes


Source Code
Screenshot
v1.4.4
2/14/2022

A set of Xojo classes for plotting data, Y versus X. Useful for Math, Engineering, or other scientific disciplines. Includes a User's Guide and several examples.

NEW: Cross-platform Hi-DPI support.


Contributions from others:
Examples, additions, etc. from users in the community.
Note: These projects are not actively supported. Please contact the individual contributors for questions and information.

SmoothTrace for
DataPlot Classes



Source Code
Screenshot
3/25/2015

A modified version of the Trace Class (part of DataPlotClasses) to demonstrate a way to draw smooth traces.

NOTE: Lines styles other than solid as well as the TraceClick, MouseOverTrace, and MouseDownTrace events are not properly supported by this modified version.


FFT Suite


Source Code
Screenshot
v1.0
10/19/2007

FFT Suite is a REALBasic Module with a set of methods related to FFTs. Its FFT functions implement the Cooley-Tukey Algorithm for real and complex FFTs. Also included are methods to generate various window functions.


Requires Complex Utilities.


The included example Project FFT Demo requires DataPlotClasses.


DigitalCircuitSim


Source Code
Screenshot
11/14/2006

A real time graphical digital circuit simulator with a library of logic ICs. It also includes a fully functional timing simulator although no file I/O has been implemented for it yet. Circuits can be copied and pasted into the timing simulator (as text). Stimuli have to be edited as text.


Requires DataPlotClasses.


If you have any additions or changes you would like to contribute to the community, please send them to roger.meier@pobox.com or visit the forums and post them there.

Demos and Examples

Example Name
Updated
Description
Tic Tac Toe


Source Code
Screenshot
5/19/2020

A demo that implements the Minimax Algorithm with alpha-beta pruning to play Tic Tac Toe.

This example project demonstrates the use of the following REALBasic elements:

  • Recursive Methods
  • Control Cloning
  • User Interface Controls: BevelButton

CountPixels


Source Code
Screenshot
5/19/2020

A simple example that counts the colors in a picture and how many pixels of each color the picture contains.

This example project demonstrates the use of the following REALBasic elements:

  • FolderItem
  • TextOutputStream
  • Canvas
  • Picture
  • Graphics
  • RGBSurface
  • User Interface Controls: EditField, ListBox

REALife


Source Code
Screenshot
5/19/2020

A REALBasic implementation of Conway's Game of Life.

This example project demonstrates the use of the following REALBasic elements:

  • Custom class
  • Canvas
  • Timer
  • User Interface Controls: PushButton, EditField, Slider
  • Support for Retina Macs

Langton's Ant


Source Code
Screenshot
5/19/2020

A REALBasic implementation of Langton's Ant.

This example project demonstrates the use of the following REALBasic elements:

  • Thread
  • Canvas
  • User Interface Controls: PushButton

POP3 Socket Test


Source Code
5/7/2009

A simple example using a POP3 Socket. The IP address of a valid POP3 server as well as an account on that server is required to try the example.

This example project demonstrates the use of the following REALBasic elements:

  • POP3 Socket
  • User Interface Controls: PushButton, EditField, PopupMenu

SMTP Socket Test


Source Code
5/7/2009

A simple "Send Mail" application using an SMTP Socket. The IP address of a valid SMTP server as well as an account on that server is required to send e-mail.

This example project demonstrates the use of the following REALBasic elements:

  • SMTP Socket
  • User Interface Controls: PushButton, EditField, BevelButton

QuickMailer Demo


Source Code
1/26/2010

A small demo application using an SMTP Socket to send e-mails with file attachments. Attachments can be added via drag-and-drop of files and folders onto a ListBox

This example project demonstrates the use of the following REALBasic elements:

  • SMTP Socket
  • User Interface Controls: PushButton, EditField, ListBox (with context menus)

ActiveX Example
using MSComm



Source Code
5/7/2009

A small and basic terminal application using MSComm instead of REALBasic's Serial control to demonstrate the use of ActiveX controls on Windows platforms.
This example project demonstrates the use of the following REALBasic elements:

  • ActiveX Control
  • User Interface Controls: PushButton, EditField

Serial Port Test


Source Code
6/1/2011

Written by Robert Rau, this example project demonstrates virtually all aspects of the Serial Control. This provides an excellent introduction to programming for Serial ports using REALBasic.
This example project demonstrates the use of the following REALBasic elements:

  • Serial Control
  • Timer
  • User Interface Controls: PushButton, EditField, PopupMenu

Posted 6/1/2011 with permission from Robert Rau.
SerialComm


Source Code
4/16/2015

A handy wrapper for the Windows Serial Port API, originally posted at dev.emcelettronica.com/serial-port-communication-excel-vba which makes serial port communication via VBA without using MSComm really easy. Unfortunately, the original post seems to no longer exist, so I'm reposting the source code packed into a VBA module in an Excel file.

If you have any questions or suggestions, please send them to roger.meier@pobox.com or visit the forums and post them there.

Previous Releases

Previous releases of my opensource projects can be found here.