CindyGL: Authoring GPU-Based Interactive Mathematical Content

  • Aaron MontagEmail author
  • Jürgen Richter-Gebert
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 9725)


CindyJS is a framework for creating interactive (mathematical) content for the web. The plugin CindyGL extends this framework and leverages WebGL for parallelized computations.

CindyGL provides access to the GPU fragment shader for CindyJS. Among other tasks, the plugin CindyGL is used for real-time colorplots.

We introduce the main principles, concepts and application of CindyGL and describe the encountered technical challenges. Special focus is put on a novel visualization scheme that uses feedback loops, which were among the motivating forces of developing CindyGL. They can be used for a wide range of applications. Some of them are numerical simulations, cellular automatons and fractal generation, which are described here.


Interactive visualization Web technologies WebGL Transpiler CindyScript GLSL OpenGL Shader based colorplots Feedback loops on GPU Fractals Limit sets IFS Kleinian groups 


  1. 1.
    Barnsley, M.F.: Fractals Everywhere. Academic Press, Boston (2014)zbMATHGoogle Scholar
  2. 2.
    Montag, A.: Interactive image sequences converging to fractals. Bachelors Thesis.
  3. 3.
    Mumford, D., Series, C., Wright, D.: Indra’s Pearls: The Vision of Felix Klein. Cambridge University Press, Cambridge (2002)CrossRefzbMATHGoogle Scholar
  4. 4.
    Richter-Gebert, J., Kortenkamp, U.: The power of scripting: DGS meets programming. Acta didactica Napocensia 3(2), 67–78 (2010)Google Scholar
  5. 5.
    Richter-Gebert, J., Kortenkamp, U.: The Cinderella.2 Manual: Working with the Interactive Geometry Software. Springer, Heidelberg (2012)CrossRefzbMATHGoogle Scholar
  6. 6.
    Stussak, C.: Echtzeit-Raytracing algebraischer Flächen auf der GPU. Ph.D. thesis, Diploma thesis, Martin Luther University Halle-Wittenberg (2007)Google Scholar
  7. 7.
    von Gagern, M., Kortenkamp, U., Richter-Gebert, J., Strobel, M.: CindyJS - Mathematical visualization on modern devices. Submitted to ICMS 2016 Berlin (unpublished)Google Scholar
  8. 8.
    von Gagern, M., Mercat, C.: A library of OpenGL-based mathematical image filters. In: Fukuda, K., Hoeven, J., Joswig, M., Takayama, N. (eds.) ICMS 2010. LNCS, vol. 6327, pp. 174–185. Springer, Heidelberg (2010)CrossRefGoogle Scholar
  9. 9.
    Wegert, E.: Visual Complex Functions: An Introduction with Phase Portraits. Springer Science & Business Media, Berlin (2012)CrossRefzbMATHGoogle Scholar

Copyright information

© Springer International Publishing Switzerland 2016

Authors and Affiliations

  1. 1.Technical University of MunichMunichGermany

Personalised recommendations