How evancz/elm-playground works
Main Components
a) Core Library Layer:
• The main Playground.elm module
• Animation system
• Game engine components
b) User Interface Components:
• Picture rendering system
• Input handling system (keyboard, mouse)
• Time management system
c) Example Applications:
• Simple pictures
• Animations
• Interactive games
┌─────────────────────────────────────────────┐
• Example Applications │
• ┌─────┐ ┌──────────┐ ┌───────────────┐ │
• Games│ │Animations│ │Static Pictures│ │
• ┘ └──────────┘ └───────────────┘ │
• ┤
• Playground Core Library │
• ┌─────────────────────────────────────────┐│
• Main Playground Module ││
• ┌──────────┐ ┌────────┐ ┌─────────┐ ││
• ┘ └────────┘ └─────────┘ ││
• ┘│
• ┤
• Input Processing │
• ┌─────────┐ ┌──────────┐ ┌──────────┐ │
• Keyboard │ │ Mouse │ │ Time │ │
• ┘ └──────────┘ └──────────┘ │
• ┘
Important Relationships
• How the update cycle works in games
• Relationship between memory and view rendering
Additional Elements
• The three main types of applications (pictures, animations, games)
• Input handling mechanisms
• Time management for animations