Objective: Utilizes Rerun.io for precise 3D visualizations in Computer Vision, including animations of Sine Wave Surface, Bessel Wave, and Spheres. Point logging feature of Rerun.io for mapping and displaying 3D coordinates.
Figure: DNA Abacus. To run, execute: python src/dna_abacus.py
conda create -n rerun python=3.8
conda activate rerun
pip install rerun-sdk matplotlib scipy
Official Docs: rerun.io
python src/demo_rerunio_graphics/spheres_row.py
- Initialize rerun:
init_rerun(data_name)
. - Create positions and colors for spheres:
create_positions(num_positions, start, end)
andcreate_colors(num_colors, start, end)
. - Log points of spheres:
log_points(name, positions, colors, radii)
.
python src/demo_rerunio_graphics/3d_bessel.py
- Initialize rerun:
init_rerun(data_name)
. - Create Bessel wave positions and log points:
create_bessel_wave(x, y, t, frequency, amplitude, phase_shift)
andlog_points(name, x, y, z, radii)
. - Equation:
$z = \text{Bessel function}(\text{frequency} \cdot r + t) \cdot \cos(frequency \cdot \theta + \text{phase shift})$ .
Figure: Wave Creature. To run, execute: python src/demo_rerunio_graphics/wave_creature.py
python src/demo_rerunio_graphics/wave_creature.py
- Initialize rerun:
init_rerun(data_name)
. - Generate positions and colors:
create_positions(x, y, z)
andcreate_colors(z, colormap)
. - Animate waving flag background:
animate_WaterMesh(t, bg_x, bg_y)
. - Animate sine wave surface:
animate_surface(t, total_duration, x, y, colormap)
. - Equation:
$z = \sin(\sqrt{x^2 + y^2} - t) + \text{components}$ .
- License: MIT license.
- Note: Rerun.io in early beta; consult official guidance.
- Acknowledgments: rerun.io `