1 / 11

Crash. A Graphical Animation Tool

Crash. A Graphical Animation Tool. By: Mikhail Litvin Vadim Belobrovka Michael Anikin Daniel Burdeinick. Project Goals. Scripting language. Create graphical animations. Use OpenGL for best quality without the complexities involved. Simple java-like programming style.

reese
Download Presentation

Crash. A Graphical Animation Tool

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Crash. A Graphical Animation Tool By: Mikhail Litvin Vadim Belobrovka Michael Anikin Daniel Burdeinick Crash Language

  2. Project Goals • Scripting language. • Create graphical animations. • Use OpenGL for best quality without the complexities involved. • Simple java-like programming style. • Intuitive, flexible and robust. Crash Language

  3. Crash’s Summary • Animation generator with few instructions. • Crash source files with .crh extension. • Source code is a sequence of statements enclosed with StartCRASH and EndCRASH. Crash Language

  4. Crash syntax and semantics • Supports If-Else and While constructs • Semicolon is used as a separator • Several primitives: int, float, color and string • Supports comments of the form /* Comment */ Crash Language

  5. Example of a If-Else construct If ( a == 1) Then a = a + 1; Else a = a + 4; EndIf Crash Language

  6. Example of a While Construct int a; a = 8 While (a < 15) Do a = a + 1; EndWhile Crash Language

  7. Pipeline Crash script Lexer Parser Walker Crash Engine GL4Java Animation Crash Language

  8. Overview Crash’s Main Objects • Scene • Animator • Path • Layer • Element Crash Language

  9. Sample Program Element triangle(a); triangle.setColor(red); … Layer l1(1),l2(2); ellipse.setLayer(l1); triangle.setLayer(l2); Crash Language

  10. Testing Procedures • Phase I: independent module testing to examine basic functionality of each module, parser, lexer, walker, and graphical engine. • Phase II: tested combined modules for complete functionality of language. • Phase III: outside user created a script and tested different functionalities of the language for unbiased opinion. Crash Language

  11. Lessons Learned and Conclusions • Start early… • Compiler related technologies. • Careful planning and time constraints organization. • Development strategy, ANTLR - LL(k) • Testing, overlooked important part of the project. Should allocate more time • Start small and expand from there. Crash Language

More Related