RSSAmplifier

Michael Chow · Feb 27, 2019

Using R and the A* Algorithm: Animated Pathfinding with gganimate

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

This post is the second part of a series on using the A* algorithm in R.
While my previous post introduced the machow/astar-r library, and how it works, in this one I’ll focus on visualizing it finding a solution with gganimate. Below is an outline of what I’ll cover.
manually define a maze and plot it with ggplot use an example class from the astar library to navigate it add a…

Read on /posts/r-and-astar-maze-viz/

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.