MCPcopy Index your code
hub / github.com/eliotbo/bevy_plot

github.com/eliotbo/bevy_plot @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
242 symbols 424 edges 30 files 37 documented · 15%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

logo

Plotting library for the Bevy game engine with a focus on esthetics and interactivity. It can handle both data points (see the "minimal", "markers", and "bevy" examples) and explicit functions (see the "func", "animate" and "runtime_setter" examples). Explicit functions are rendered using quadratic Bezier interpolation, thus smoothing out the curves.

Here is a link to the docs.

animate

How to get started

Add "bevy_plot" to the dependencies list in the Cargo.toml file of your project, add a font to your assets, and have a look at the examples to see how to add the PlotPlugin, import and use the Plot asset.

TODO

  • reduce API boilerplate
  • interactive markers
  • compatibility with 3d camera
  • optimization

Extension points exported contracts — how you extend this code

Plotable (Interface)
(no doc) [14 implementers]
src/plot/plot_format.rs

Core symbols most depended-on inside this repo

insert
called by 44
src/plot/plot.rs
get_mut
called by 29
src/plot/plot.rs
add
called by 29
src/plot/plot.rs
get
called by 27
src/plot/plot.rs
col_to_vec4
called by 15
src/util.rs
compute_zeros
called by 11
src/plot/plot.rs
to_local
called by 11
src/plot/plot.rs
set_bounds
called by 6
src/plot/plot.rs

Shape

Class 87
Function 85
Method 63
Enum 6
Interface 1

Languages

Rust100%

Modules by API surface

src/plot/plot.rs40 symbols
src/bezier/bezier_backup.rs23 symbols
src/markers/mod.rs22 symbols
src/bezier/bezier.rs19 symbols
src/canvas/mod.rs18 symbols
bevy_plot2/src/canvas.rs18 symbols
src/bezier2/segments.rs17 symbols
bevy_plot2/src/mesh2d_manual.rs12 symbols
src/canvas/canvas_actions.rs11 symbols
bevy_plot2/src/bin/canvas_demo.rs11 symbols
src/segments/segments.rs10 symbols
examples/animate.rs5 symbols

For agents

$ claude mcp add bevy_plot \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact