Props groups 🖖
Props can also be organised with groups! Groups are subsets of props that can be displayed in different modules.
https://props.color.group = "cubes";
Thanks to this, you can organise the layout to better reflect your workflow by having props wherever you want them to be.
Demo ⬇️
Props can also be organised with groups! Groups are subsets of props that can be displayed in different modules.
https://props.color.group = "cubes";
Thanks to this, you can organise the layout to better reflect your workflow by having props wherever you want them to be.
Demo ⬇️
Comments
init() now supports async functions! While load() can still be used as before, this simplifies the share of resources between the two functions.
Also getting ready for p5.js 2.0 and WebGPU requestAdapter() 👀
Sketches now run at monitor's native framerate instead of the default 60 fps, bringing enhanced support for 120/144Hz monitors and smoother animations on high-refresh-rate displays.
A specific framerate can still be set with:
export let fps = 24;
An optional configuration file `fragment.config.js` can be placed at the sketch root to extend @vite.dev configuration settings.
Additional configuration capabilities are planned for future releases 👀
Docs: https://github.com/raphaelameaume/fragment/blob/dev/docs/guide/configuration.md