Package 'sync3d'

Title: Synchronized 3D Vector and Marker Animations in 'Plotly'
Description: Provides a domain-agnostic visualization utility designed to bypass structural rendering limitations within multi-trace three-dimensional animations in 'Plotly' by implementing a decoupled rendering pipeline. Computational processing of time-dependent physical states (markers and nodes) is managed within the R environment, while a custom hardware-accelerated 'WebGL' injection handles the synchronous rendering of complex topological frameworks (lines and edges) directly within the 'UI' browser interface via 'htmlwidgets'. This dual-layer architecture ensures smooth execution of synchronized multi-component 3D animations without framework degradation or controller loss.
Authors: Katharina Brecht [aut, cre] (ORCID: <https://orcid.org/0009-0001-2176-7476>)
Maintainer: Katharina Brecht <[email protected]>
License: GPL-3
Version: 0.1.1
Built: 2026-10-12 16:21:14 UTC
Source: https://github.com/katharinabrecht-quantum/sync3d

Help Index


3D Visualization Utility for Synchronizing Edges with Animated Markers

Description

3D Visualization Utility for Synchronizing Edges with Animated Markers

Usage

add_synchronized_3d_edges(base_plot, edge_indices)

Arguments

base_plot

An animated plotly 3D scatter plot (Trace 0).

edge_indices

A matrix or data frame with 'from' and 'to' columns.

Value

An expanded plotly widget with synchronized WebGL lines.

Examples

# Server-safe infrastructure test without generating interactive 'UI' windows
library(plotly)
mock_plot <- plot_ly()
mock_edges <- matrix(c(1, 2), ncol = 2)
tested_utility <- add_synchronized_3d_edges(mock_plot, mock_edges)