https://github.com/zipxing/rust_pixel
- Refactored the underlying rendering module, abandoned the canvas API of SDL, and replaced it with OpenGL shader
- Unified OpenGL drawing mode supports sdl and wasm (glow & sdl2)
- Opengl rendering improved engine performance (CPU dropped from 38% to about 15%)
- Added the ability to use shader to achieve various special effects(coding petview transition)
- Abstracted the repeated code in lib.rs of each application into a procedural macro: pixel_game!(Snake)
- Fixed numerous cargo clippy warnings