#include "{MODULE}.hpp" #include class {MODULE} : public ScreensaverPlugin { public: {MODULE}() = default; ~{MODULE}() = default; int fps() const override; void update() override; void render() override; }; ScreensaverPlugin* create_instance() { return new {MODULE}; } int {MODULE}::fps() const { return 30; } void {MODULE}::update() { // adjust state for next render } void {MODULE}::render() { // render one frame based on current state }