The Polygons of Another World - realtime interactive rendering in R
summary
Demonstrates that base R reaches interactive frame rates (benchmarks show 30 fps on RStudio/quartz and X11 responding over 500 Hz) by using native raster double-buffering and grid raster to copy frames, driving a pixel engine that scales to 5,000 sprites. Implements event-driven input via grDevices callbacks, ships the nara and eventloop packages, builds an R drum machine that plays and responds in real time, and ports the Another World VM into R with keyboard, animation and synced sound working though a few bugs remain.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 0:37Discovery
- 0:53Need for interactive graphics
- 2:15Fast graphics devices
- 3:37Drawing to a graphics device
- 7:43Eventdriven interaction
- 11:48Another World
- 15:01Conclusion
related talks
16mThe Polygons of Another World - realtime interactive rendering in R
38mGraphics and Simulations (and Games), Oh My!
37mPixel Art and Complex Systems
05mIt's all fun and games til your analysis code is finished
48mAnother World in Flutter
37mCreative Coding for Fun and (Non)Profit
36mMultiplayer Games With WebXR
28mMaking Games
