Skip to content

Commit 3706149

Browse files
Replace smoothie fork with custom graph component
Aims for identical behaviour except for the recording lines which now show the recording in-progress rather than filling in the gap between start and end when the recording finishes. As a very minor tweak, for non-dashed lines we extend the line to the triangle rather than having the constant "catching up" effect from the next data sample. x/y/z move into the graph component rather than being rendered separately by React. That way they can have their position calculated without hacks. We keep a large enough buffer of data points to cope with window resizes (7000px+) without left truncating the graph when the window grows.
1 parent ecee438 commit 3706149

File tree

5 files changed

+443
-322
lines changed

5 files changed

+443
-322
lines changed

package-lock.json

Lines changed: 0 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@
8787
"@microbit/makecode-embed": "^0.5.0",
8888
"@microbit/microbit-connection": "^0.9.0-apps.alpha.15",
8989
"@microbit/ml-header-generator": "^0.4.3",
90-
"@microbit/smoothie": "^1.37.0-microbit.2",
9190
"@tensorflow/tfjs": "^4.20.0",
9291
"@types/w3c-web-serial": "^1.0.6",
9392
"@types/w3c-web-usb": "^1.0.6",

0 commit comments

Comments
 (0)