SURFER (IMAGINARY exhibit)

From WikiMathCom
Revision as of 02:37, 17 November 2014 by Daniel (talk | contribs) (Created page with "SURFER is a computer program that constitutes the most iconic exhibit of IMAGINARY. It draws algebraic surfaces in real time, from a polynomial given by the user as the in...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

SURFER is a computer program that constitutes the most iconic exhibit of IMAGINARY. It draws algebraic surfaces in real time, from a polynomial given by the user as the input. Some example surfaces, parameters and colouring allow interactive play with the surfaces.

Description

The main and only window of the program has a view of the current algebraic surface, which one can drag to rotate and zoom. The lower part of the window has a small keyboard and a textbox with the polynomial defining the surface. With the on-screen keyboard, the program is ready to be used on touchscreens without physical keyboard. A left menu brings some options of colouring and a list with some examples of surfaces. Each surface is accompanied of an explanation text. The program is available in 7 languages.

Optionally, two buttons can be activated: one for saving the surface in a file, and another for printing the surface to bring it to the visitor. These features can be used to organize competitions amongst visitors and schools for obtaining the most beautiful surfaces.

Background

Algebraic surfaces are sets of points (x,y,z) in space that satisfy a given polynomial equation p(x,y,z)=0.

Visualization of algebraic surfaces can be tricky. Most surfaces appearing in computer graphics are (ideally) smooth surfaces, that can be approximated by a triangulation mesh with quite good accurary. This mesh consist on a vast collection of flat triangles in space, and graphic cards are designed to render them rapidly on screen. However, many interesting algebraic surfaces contain mathematical singularities (points where the surface fails to be smooth), and the triangulation technique is not a good approach.

A different technique in computer graphics is ray-tracing. On this technique, one describes a scene abstractly (objects, lighting, textures, and a camera view), and the rendering consists on tracing, for each pixel on the final image, a light ray from the camera, inciding on the closest surface, and reflecting according to the laws of optics to reach the source of light, and this determines the colour of the pixel. Ray-tracing is much more expensive int terms of computation power and usually is only used for still images, whereas triangulation can be used in real-time video such as videogames. SURFER is a ray-tracer optimized for rendering algebraic surfaces in real time.

History

The first antecedent of SURFER is the program surf [1], released in 2000 by Stephan Endrass and others. This program is a script-driven ray-tracer designed for algebraic surfaces written in C++. In 2006, Herwig Hauser designed and formulated a gallery of algebraic surfaces for the ICM 2006 in Madrid. That gallery was created using POV-ray, a general purpose ray-tracer software that, unlike most other ray-tracers, admitted as a primitive shape an algebraic surface defined by the zeroset of a polynomial. At that moment, no program was fast enough to render live a surface.

The IMAGINARY project was created with occasion of the German Year of Mathematics 2008, and one of its core initiatives was to design a fast renderer of algebraic surfaces with a simple user interface to be used in an exhibition. Firstly, the old surf program was ported to Java libraries, giving rise to jsurf. Then, a complete user interface was designed and the result was SURFER 2008. This was the version used in the German exhibitions during 2008, and included several advanced features as well as a more simplified view.

In 2010 the user interface was redesigned, including several more examples of surfaces (such as Hauser's designs and record singularities surfaces). Some features such as multiple surfaces and animation were removed, in order to have a much simpler interface for exhibitions. This is the current version of SURFER.

In 2012, the National Museum of Mathematics and IMAGINARY made an agreement to design a new exhibit based on SURFER, Formula Morph, that is currently on display at MoMath. This exhibit has an user interface based on physical devices (wheels, buttons, levers) which are mounted on the exhibit structure that holds the screen.