Examples
rappture2web ships with a comprehensive set of examples in the
examples/rappture2/ directory. Each example is a self-contained tool
that uses rappture2web.rp_library and can be run directly:
rappture2web examples/rappture2/curve/
Available examples
Basic input types:
Example |
Description |
|---|---|
Number input with units, presets, and color bar |
|
|
Number input with color ranges |
Integer input with min/max bounds |
|
|
Integer input with color ranges |
Boolean checkbox input (on/yes/true/1 formats) |
|
String text input (single-line and multiline) |
|
Dropdown choice input |
|
Multiple selection checkboxes |
|
Interactive periodic table picker |
|
Image upload input with loader |
|
Read-only HTML note |
Layout and organization:
Example |
Description |
|---|---|
Grouped inputs with tabs, horizontal, and sentence layouts |
|
Phase-based (multi-page) workflow |
|
Conditional enable/disable of inputs |
Output types:
Example |
Description |
|---|---|
XY curves: single, grouped, scatter, bar, log scale |
|
Bar histogram output (single and grouped) |
|
2D heatmap and 3D isosurface fields |
|
3D scalar field visualization (point cloud) |
|
2D vector flow field (lid-driven cavity) |
|
3D flow visualization demos (3 examples) |
|
Data table output |
|
Animated sequence of image frames |
|
Simulation log text output |
|
Geographic map with heatmap/scatter layers |
Complete applications:
Example |
Description |
|---|---|
Fermi-Dirac distribution calculator |
|
Simple UQ demonstration (cosine wave) |
|
Projectile motion with UQ support |