Skip to main content

ChalkBoard: Mapping Functions to Polygons

  • Conference paper
Book cover Implementation and Application of Functional Languages (IFL 2009)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 6041))

Abstract

ChalkBoard is a domain specific language for describing images. The ChalkBoard language is uncompromisingly functional and encourages the use of modern functional idioms. ChalkBoard uses off-the-shelf graphics cards to speed up rendering of functional descriptions. In this paper, we describe the design of the core ChalkBoard language, and the architecture of our static image generation accelerator.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Peyton Jones, S. (ed.): Haskell 98 Language and Libraries – The Revised Report. Cambridge University Press, Cambridge (2003)

    MATH  Google Scholar 

  2. cairo, http://www.cairographics.org/

  3. The Glasgow Haskell Compiler, http://haskell.org/ghc/

  4. Elliott, C.: Functional images. In: The Fun of Programming. Cornerstones of Computing, Palgrave (March 2003)

    Google Scholar 

  5. Gill, A., Hutton, G.: The worker/wrapper transformation. Journal of Functional Programming 19(2), 227–251 (2009)

    Article  MATH  Google Scholar 

  6. Peyton Jones, S., Vytiniotis, D., Weirich, S., Washburn, G.: Simple unification-based type inference for gadts. In: ICFP 2006: Proceedings of the eleventh ACM SIGPLAN international conference on Functional programming, pp. 50–61. ACM, New York (2006)

    Chapter  Google Scholar 

  7. Gill, A.: Type-safe observable sharing in Haskell. In: Proceedings of the 2009 ACM SIGPLAN Haskell Symposium (September 2009)

    Google Scholar 

  8. McBride, C., Patterson, R.: Applicative programing with effects. Journal of Functional Programming 16(6) (2006)

    Google Scholar 

  9. Reade, C.: Elements of functional programming. Addison-Wesley, Wokingham (1989)

    MATH  Google Scholar 

  10. Hudak, P.: The Haskell school of expression: learning functional programming through multimedia. Cambridge University Press, New York (2000)

    Google Scholar 

  11. Henderson, P.: Functional geometry. In: LFP 1982: Proceedings of the 1982 ACM symposium on LISP and functional programming, pp. 179–187. ACM, New York (1982)

    Chapter  Google Scholar 

  12. Arya, K.: Processes in a functional animation system. In: FPCA 1989: Proceedings of the fourth international conference on Functional programming languages and computer architecture, pp. 382–395. ACM, New York (1989)

    Chapter  Google Scholar 

  13. Findler, R.B., Flatt, M.: Slideshow: functional presentations. J. Funct. Program. 16(4-5), 583–619 (2006)

    Article  MATH  Google Scholar 

  14. Carlsson, M., Hallgren, T.: Fudgets: a graphical user interface in a lazy functional language. In: FPCA 1993: Proceedings of the conference on Functional programming languages and computer architecture, pp. 321–330. ACM, New York (1993)

    Chapter  Google Scholar 

  15. Elliott, C., Schechter, G., Yeung, R., Abi-Ezzi, S.: TBAG: A high level framework for interactive, animated 3D graphics applications. In: SIGGRAPH (1994)

    Google Scholar 

  16. Elliott, C.: From functional animation to sprite-based display. In: Gupta, G. (ed.) PADL 1999. LNCS, vol. 1551, p. 61. Springer, Heidelberg (1999)

    Chapter  Google Scholar 

  17. Elliott, C., Finne, S., de Moor, O.: Compiling embedded languages. Journal of Functional Programming 13(2) (2003)

    Google Scholar 

  18. Elliott, C.: Programming graphics processors functionally. In: Proceedings of the 2004 Haskell Workshop. ACM Press, New York (2004)

    Google Scholar 

  19. Elliott, C., Hudak, P.: Functional reactive animation. In: International Conference on Functional Programming (1997)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Matlage, K., Gill, A. (2010). ChalkBoard: Mapping Functions to Polygons. In: Morazán, M.T., Scholz, SB. (eds) Implementation and Application of Functional Languages. IFL 2009. Lecture Notes in Computer Science, vol 6041. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-16478-1_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-16478-1_4

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-16477-4

  • Online ISBN: 978-3-642-16478-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics