skip to main content
Department of Computer Science University of Colorado Boulder
cu: home | engineering | mycuinfo | about | cu a-z | search cu | contact cu cs: about | calendar | directory | catalog | schedules | mobile | contact cs
home · undergraduate program · senior project · projects · 

Senior Project - S.M.A.G.


Sparkle Magic API for Graphics

Senior Project: 2005-2006

Platte River Associates (PRA) is the creator of a software product used by petroleum exploration groups to model and display geologic information. Currently, PRA uses a library written in ANSI C to generate graphics for their model display. The problem with this approach is that the modeling software is now written in Java, and a JNI layer has to be used to connect the two pieces of software -- this imposes severe limits on updates and additions to the library. This project was aimed at alleviating that problem by creating an enhanced display framework in Java that can be easily extended and that allows more control over display and layout of graphical items.

The framework duplicates the functionality of the existing C library, including the ability to create plots of data provided by the model objects and to manage the layout of various pieces of the plots. The plot types include

  • simple X-Y point and line plots
  • radar plots
  • contour maps
  • log-axis graphs

The system also allows the creation of complex plots composed of sub-plots of the four basic plot types. In addition to creating the plots, the software is capable of generating plots in a resolution-independent way. For example, a plot created on a small computer screen can be as detailed as possible at that resolution; if that same plot is exported to a 36-inch pen plotter, the plot will contain the highest amount of detail that is possible at the new resolution.

Burial History
Burial History
Segment Plot
Segment Plot
Map Plot
Map Plot
Radar Plot
Radar Plot
Combination Plot
Combination Plot
See also:
Department of Computer Science
College of Engineering and Applied Science
University of Colorado Boulder
Boulder, CO 80309-0430 USA
Send email to

Engineering Center Office Tower
ECOT 717
FAX +1-303-492-2844
XHTML 1.0/CSS2 ©2012 Regents of the University of Colorado
Privacy · Legal · Trademarks
May 5, 2012 (14:07)