Patrick Toche

Results 39 comments of Patrick Toche

Thanks Thomas. Will look into this. I'm only just learning the new api, so I don't mind breaking changes. Is there a way to override ``nframes`` from inside, say, ``transition_manual()``?...

I follow up with a few more attempts at making introductory examples. I'll update the code as I make progress. Comments welcome. **Example 3:** **Objective:** reveal a single line segment...

**Example 4: Objective: reveal a line sequentially: reveal ``(x_{i}, y_{i}) -- (x_{i-1}, y_{i-1})`` without hiding ``(x_{i-1}, y_{i-1})-(x_{i-2}, y_{i-2})``** ``` r # Packages + Data library(reprex) library(ggplot2) library(gganimate) library(tibble) df

Thanks for the feedback Thomas. I have updated the examples above. Below an updated summary. **Example 1:** Objective: reveal a single point sequentially: reveal ``(x_{i}, y_{i})`` + hide ``(x_{i-1}, y_{i-1})``....

Thanks for your help Thomas. For me, with or without ``group = seq_along(x)`` I get the same output. Let me try to clarify what I'm looking for in Example 3...

stupid me I had the ``group`` outside the ``aes()``. So sorry! And thanks again for your patience!! Example 4 with fewer frames than default. The first 5 frames print_frames

Oh I understand now: you set ``nframes`` inside the ``animate()`` function. Excellent. Indeed I was looking for a frame rate that would match the supplied data. Thanks. I wrote too...

I have updated Examples 1, 2, and 4. Feel free to put them together inside a "Getting Started" wiki, if you think they could be useful. I certainly feel much...

Below an animation intended to illustrate the use of counters for ``transition_manual()`` and ``transition_reveal()``. Get the current counter with ``print("{frame}")``. Get the total number of frames with ``print("{nframes}")``. **Example 5:...

Thanks Thomas. Oh I didn't realize there was a ``frame`` variable for that. Great. I'll update the code with that information. Do you mean there's a simpler way to obtain...