SketchyDynamics: A Sketch-Based Library for the Development of Physics Simulation Applications

Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 206)


Sketch-based interfaces provide a powerful, natural and intuitive way for users to interact with an application. By combining a sketch-based interface with a physically simulated environment, an application offers the means for users to rapidly sketch a set of objects, like if they are doing it on piece of paper, and see how these objects behave in a simulation. In this paper we present SketchyDynamics, a library that intends to facilitate the creation of applications by rapidly providing them a sketch-based interface and physics simulation capabilities. SketchyDynamics was designed to be versatile and customizable but also simple. In fact, a simple application where the user draws objects and they are immediately simulated, colliding with each other and reacting to the specified forces, can be created with only 3 lines of code.


Sketch-Based Interfaces Gesture Recognition Physics Simulation Rigid Body Dynamics Education Entertainment 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Rubine, D.: Specifying Gestures by Example. SIGGRAPH Computer Graphics 25(4), 329–337 (1991)CrossRefGoogle Scholar
  2. 2.
    Plimmer, B., Freeman, I.: A toolkit approach to sketched diagram recognition. In: Proceedings of the 21st British HCI Group Annual Conference on People and Computers: HCI.but not as We Know It (BCS-HCI 2007), vol. 1, pp. 205–213 (2007)Google Scholar
  3. 3.
    Pereira, J., Branco, V., Jorge, J., Silva, N., Cardoso, T., Ferreira, F.: Cascading recognizers for ambiguous calligraphic interaction. In: Eurographics Workshop on Sketch-Based Interfaces and Modeling (2004)Google Scholar
  4. 4.
    Stahovich, T.: Pen-based Interfaces for Engineering and Education. In: Sketch-based Interfaces and Modeling, pp. 119–152 (2011)Google Scholar
  5. 5.
    Fonseca, M., Pimentel, C., Jorge, J.: CALI: An online scribble recognizer for calligraphic interfaces. In: AAAI Spring Symposium on Sketch Understanding, pp. 51–58 (2002)Google Scholar
  6. 6.
    Wobbrock, J., Wilson, A., Li, Y.: Gestures without libraries, toolkits or training: a $1 recognizer for user interface prototypes. In: 20th Annual ACM Symposium on User Interface Software and Technology (UIST 2007), pp. 159–168 (2007)Google Scholar
  7. 7.
    Anthony, L., Wobbrock, J.: A lightweight multistroke recognizer for user interface prototypes. In: Graphics Interface 2010 (GI 2010), pp. 245–252 (2010)Google Scholar
  8. 8.
    Lee, W., Kara, L., Stahovich, T.: An efficient graph-based recognizer for hand-drawn symbols. Computers & Graphics 31, 554–567 (2007)CrossRefGoogle Scholar
  9. 9.
    Vatavu, R.-D., Grisoni, L., Pentiuc, S.-G.: Gesture Recognition Based on Elastic Deformation Energies. Gesture-Based Human-Computer Interaction and Simulation 5085, 1–12 (2009)CrossRefGoogle Scholar
  10. 10.
    Sezgin, T., Davis, R.: HMM-based efficient sketch recognition. In: 10th International Conference on Intelligent User Interfaces (IUI 2005), pp. 281–283 (2005)Google Scholar
  11. 11.
    Alvarado, C., Davis, R.: Resolving Ambiguities to Create a Natural Computer-Based Sketching. In: Proceedings of IJCAI 2001, pp. 1365–1371 (2001)Google Scholar
  12. 12.
    Kamel, H., Shonoda, M., Refeet, M., Nabil, R.: Free-Hand Sketch Recognition For Visualizing Interactive Physics, (accessed 2012)
  13. 13.
    Purho, P.: Crayon Physics Deluxe, (accessed 2012)
  14. 14.
    Costa, A., Pereira, J.: SketchTester: Analysis and Evaluation of Calligraphic Gesture Recognizers. 20º Encontro Português de Computação Gráfica (20ºEPCG) (2012)Google Scholar
  15. 15.
    Costa, A.: SketchyDynamics: Apoio à Produção de Sistemas Baseados em Interfaces Caligráficas para a Simulação da Dinâmica de Corpos Rígidos (M.S. thesis). School of Engineering (ISEP), Polytechnic of Porto, Portugal (2012)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2013

Authors and Affiliations

  1. 1.Computer Science Department, School of Engineering (ISEP)Polytechnic of PortoPortoPortugal
  2. 2.Knowledge Engineering and Decision Support Group (GECAD), School of EngineeringPolytechnic of PortoPortoPortugal

Personalised recommendations