elcritch

elcritch

I created an example of real-time plotting for LiveView demo using Plotex. I’ve fixed Plotex to handle multi-plots and cleaned up some internals. You can check out the demo repo on GitHub at PlotexLiveViewExample.

It’s fun watching it, but there are some limitations for doing live SVG rendering on the server. Currently the CPU usage can increase quickly once you get to updates quicker than 50ms or so (about ~20% on my macbook at 10ms timing w/ ~1k points). It’d be great to have feedback if others have delved more into LiveView internals or other efficiency tips!

Where Next? Top

Trending in Guides/Tuts Top

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews