Olivier Goffart
|
429e5bdb07
|
Add link to SixtyFPS homepage from the wasm demo pages
|
2021-08-12 14:19:29 +02:00 |
|
Simon Hausmann
|
3456842c8a
|
Simplify spinner stopping a little bit
Calling the async function returns a promise, which we can just hook into via finally().
That's less lines of code
|
2021-08-12 09:58:28 +02:00 |
|
Simon Hausmann
|
9546f8caa7
|
Shrink the spinner CSS a little bit
... by disabling vscode's beautify formatter.
|
2021-08-12 09:58:28 +02:00 |
|
Simon Hausmann
|
b2fb339df9
|
Add a simple loading spinner animation for the plotter wasm demo
|
2021-08-12 09:58:28 +02:00 |
|
Simon Hausmann
|
92655486da
|
Simplify plotter example
Use a callback that produces the plot from a pitch as the image source.
|
2021-08-11 17:13:21 +02:00 |
|
Simon Hausmann
|
8903adb584
|
Add a WASM build of the plotters example
... which uses an intermediate drawing backend to skip the text on the axis, as
that requires TrueType fonts form the filesystem.
|
2021-08-11 16:19:10 +02:00 |
|
Simon Hausmann
|
962b6b2205
|
internal cleanup: remove stray getrandom dependency
|
2021-08-11 15:32:05 +02:00 |
|
Olivier Goffart
|
ffccef4e0c
|
Examples: replace all _ by - in identifiers
|
2021-08-10 22:21:01 +02:00 |
|
Simon Hausmann
|
0be0e07116
|
Fix build
Amends commit 0852a7661b
|
2021-08-10 17:30:30 +02:00 |
|
Simon Hausmann
|
d023475f1c
|
Rename Image::new_rgb*() to Image::from_rgb*
|
2021-08-10 15:56:01 +02:00 |
|
Simon Hausmann
|
50f4b08b6e
|
Remove imgref and rgb dependencies from the plotter example
With `as_bytes_mut()` on `SharedPixelBuffer` those dependencies are not needed anymore,
they are now implicit.
|
2021-08-10 15:56:01 +02:00 |
|
Simon Hausmann
|
485fc72d15
|
Adapt the plotter example to the SharedImageBuffer API removal
|
2021-08-10 15:56:01 +02:00 |
|
Simon Hausmann
|
2d374a3ff9
|
internal cleanup: Remove commented out plotters dependency
|
2021-08-10 15:56:01 +02:00 |
|
Simon Hausmann
|
1d83837228
|
Add a plotter example using plotters
This is kind of an interactive port of
https://github.com/38/plotters/blob/master/examples/3d-plot2.rs
|
2021-08-10 15:56:01 +02:00 |
|