Philippe Rivière

Results 974 comments of Philippe Rivière

I wish I'd been clever, but the truth is that it's the unit tests that guided me (🙏 ): every other thing I tried failed because of the many assumptions...

Interesting idea! (Note: I took the liberty to edit your message to make the fence code apparent.)

@PawelStadnicki for questions, please open a [discussion](https://github.com/observablehq/framework/discussions/categories/q-a).

Yeah I don't think there should be so many 🌶, it was more a manner of mapping these in my head. Maybe we could keep just one emoji when something...

Confirmed, will fix. Note that this only happens when the stroke is a constant, so a stopgap measure could be to write `stroke: () => "black"`.

A good place to apply decimation (almost transparently) is just before rendering. The index is filtered, and the X and Y values are scaled. We can filter the index again,...

I think I've solved the issue with curves (of all known types) in the [prototype notebook](https://observablehq.com/@fil/fast-brush-with-line-simplification). This is now using an extension of M4, where I add the first and...

For 1, let me refer to this notebook: https://observablehq.com/@fil/time-series-topological-subsampling. This framework offers a good way to think about the problem (like formally defining what a "peak" is), and the algorithm...

Yes, it explains the gradient we see at the top of the "before" image in the description. It would be nice to clean this up too. (Related: https://github.com/observablehq/plot/pull/2132)