Releases: jsulpis/usegl
Releases · jsulpis/usegl
v0.4.0
v0.3.0
v0.2.0
🚀 Enhancements
- Add basic support for textures without mipmaps (5fc5341)
- Allow to provide the canvas as a CSS selector (a7f8d0f)
- Add useLoop hook with play/pause controls (f3e2cf3)
- Add useBoundingRect hook (8d1851e)
⚠️ Change onPointerEvents to usePointerEvents and add more events (ddeabd9)
🩹 Fixes
💅 Refactors
⚠️ ChangeonCanvasResize
touseResizeObserver
and provide controls on the observer (31e38ff)
🏡 Chore
- Update dependencies (45efec1)
- Enforce Typescript consistent type imports (70d9e4a)
- Setup the playground (a0d37d1)
- Move the playground in the lib package (6e58fc8)
✅ Tests
- Add screenshot tests with playwright (67517c8)
🤖 CI
- Add basic workflow (32aaf60)
⚠️ Breaking Changes
v0.1.0
🚀 Enhancements
- Add a first version of useWebGLCanvas, onCanvasResize, and add a gradient demo (f464f08)
- Make the vertex shader optional (6a987b3)
- Convert GLSL 100 shader source to GLSL 300 to handle both versions (3e693ad)
- Automatically detect the time uniform and trigger the render loop only if it is set (fd2276e)
- Automatically detect the UV varying name if a vertex shader is not provided (4466dd7)
- Add blob demo + loop and onPointerEvents helpers (d9aaccf)
- Automatically detect the resolution uniform (4a7f935)
- Automatically resize the canvas if it is not an OffscreenCanvas (b89f230)
- Add setAttribute function (4b9ee84)
- Trigger render when updating a uniform (47ff764)
- Add useRawWebGLCanvas (2cc2e57)
- Add requestRender + code cleanup (8237d51)
- Add support for particles, draw modes and indices (4062756)
- Add first draft of post processing functions (9f20196)
- Add more post processing functions (6f1f3e6)
- Add compositor for post processing (e855390)
- Add lifecycle callbacks (87e4534)
💅 Refactors
- Reorganize into folders and create a barrel file (a7d84f8)
📖 Documentation
- Add circle demo (21b6bf7)