Canvas sandbox: Difference between revisions

Jump to navigation Jump to search
m
Line 382: Line 382:


== 2D Plotting ==
== 2D Plotting ==
{{Main article|Howto:Extending Canvas to support MathGL}}
<gallery>
<gallery>
L-D-mach.gif
L-D-mach.gif
Line 387: Line 388:
SRB thrust.png
SRB thrust.png
</gallery>
</gallery>
[[File:Mathgl-sine.png|thumb|Screen shot showing a Canvas GUI dialog with a custom MathGL element rendering a simple sine (proof-of-concept) - the point being, while simple stuff like this can certainly be renderered using our existing Canvas.Path element, more complex/mathematical expressions and functions are better handled by a dedicated plotting library, that is threaded and hardware accelerated (OpenGL+ GLSL).]]
[[File:Mathgl-canvas-mesh-demo.png|thumb|This is the same custom MathGL Canvas element rendering a more complex 3D mesh/function, fully hardware accelerated using OpenGL and GLSL, including support for threaded number crunching in pthread-enabled MathGL builds]]


{{FGCquote
{{FGCquote

Navigation menu