Commit graph

26 commits

Author SHA1 Message Date
Tobias Hunger
597467fae9 Manually update license information in Cargo.toml files
... that are not published or private or not processed by xtask for
other reasons.
2021-12-22 10:06:12 +01:00
Tobias Hunger
bfca0e3573 Mass update copyright messages to be more REUSE compliant 2021-12-22 10:06:12 +01:00
ogoffart
3278b39549 Bump version number to 0.1.6 2021-11-24 14:19:09 +00:00
ogoffart
b25ae6fbcd Bump version number to 0.1.5 2021-10-26 07:36:54 +00:00
ogoffart
77fcd5221b Bump version number to 0.1.4 2021-10-07 09:36:43 +00:00
ogoffart
8b9717633e Bump version number to 0.1.3 2021-10-05 10:31:45 +00:00
ogoffart
e54e03148f Bump version number to 0.1.2 2021-09-04 10:08:51 +02:00
Olivier Goffart
013eee351c Wasm demos: add touch-action: none to all canvas
So that the Slider, Flickabke and such works on android/chrome
2021-08-20 09:33:49 +02:00
Simon Hausmann
234dfd85b6 Minor cleanup in the plotter example
Use a horizontal box instead of a horizontal layout
2021-08-19 09:46:18 +02:00
Simon Hausmann
fa3f21ae61 Fix alignment of pitch title and the slider in the plotter example 2021-08-18 17:58:39 +02:00
Simon Hausmann
91930aad55 Improve spacing between plotter title and the image
Use a VerticalBox
2021-08-18 17:57:12 +02:00
Tobias Hunger
aea4ecca99 Apply pre-commit hooks to all files 2021-08-17 22:38:16 +02:00
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