Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time selection control javascript API #8329

Open
nikolausWest opened this issue Dec 5, 2024 · 2 comments
Open

Time selection control javascript API #8329

nikolausWest opened this issue Dec 5, 2024 · 2 comments
Labels
enhancement New feature or request 🕸️ web regarding running the viewer in a browser

Comments

@nikolausWest
Copy link
Member

The Rerun web-viewer can be embedded into other web applications that may also be showing data. For instance, Rerun's 2D plotting functionality isn't yet very mature and many teams combine Rerun with more specialized 2D plotting tools like vega-lite or D3.js. This experience would be significantly better if it was possible to sync the Rerun viewer with the surrounding javascript environment. A great first step would be the ability to sync the time cursor position and current timeline between Rerun and javascript.

What?

  • Expose a javascript API for setting the current timeline, current timepoint, and playmode from javascript
  • Expose js callbacks for getting updates on when those change in Rerun

Future extensions

@nikolausWest nikolausWest added enhancement New feature or request 🕸️ web regarding running the viewer in a browser labels Dec 5, 2024
@Wumpf
Copy link
Member

Wumpf commented Dec 11, 2024

@ryh-zz
Copy link

ryh-zz commented Dec 20, 2024

@Wumpf Are javascript apis in the future?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request 🕸️ web regarding running the viewer in a browser
Projects
None yet
Development

No branches or pull requests

3 participants