mirror of
https://github.com/bspeice/speice.io
synced 2025-07-05 07:44:54 -04:00
Checkpoint for histogram
It takes a lot of render time to get a usable result, and it's not that interesting. Committing so I can save the work if I want to revisit it, but abandoning the idea for now.
This commit is contained in:
@ -23,6 +23,13 @@ We'll render the reference image again, but this time, counting the times
|
||||
we tried to turn on a pixel.
|
||||
|
||||
import CodeBlock from "@theme/CodeBlock";
|
||||
import plotHistogramSource from "!!raw-loader!./PlotHistogram";
|
||||
import plotHistogramSource from "!!raw-loader!./plotHistogram";
|
||||
|
||||
<CodeBlock language="typescript">{plotHistogramSource}</CodeBlock>
|
||||
|
||||
import Canvas from "../src/Canvas";
|
||||
import FlameHistogram from "./FlameHistogram";
|
||||
|
||||
<Canvas width={400} height={400} hidden={true}>
|
||||
<FlameHistogram/>
|
||||
</Canvas>
|
Reference in New Issue
Block a user