Background
This is a simple GPU program for my Jetson Nano where I develop some shapes in C++ and use GPU elements to compute various sections
of the frame (in this case a picture of shapes moving around the screen). Obviously this could also be done with OpenGL or some other
language/API as well.
Skills Highlighted
Skills I am highlighting here are C++ classes, passing Pointers to C++ objects between Host and GPU, and frame generation.
Building/Use
You can access the source code from my github: Cuda Bouncing Ball Github
A build script is provided and the output is a BouncingShapes.avi file.
Possible Next Steps
- Use NVENC rather than OpenCV for movie generation.
- Multithreading to make sure the program does frame generation and encoding in parallel.
- Add feature to have the shapes collide with each other.