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 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
Complex Utilities


Source Code
v1.0

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.3.0

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


SmoothTrace for
DataPlot Classes



Source Code
Screenshot
n/a

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

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
12-17-2011

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
6-9-2009

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-7-2009

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


Langton's Ant


Source Code
Screenshot
5-7-2009

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.


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