Skip to content
← Back to Community
Graph Animation Code Step by Step coded in python/Pygame
Profile icon
gjenkinsedu

Code to teach how to animate a visualization of a graph algorithm:

To help data structure students in Computer Science classes understand the Breadth First Search Graph Algorithm I have done a youtube video that shows a visual animation. Many have asked how do you code this animation.

So I have a incremental set of code files that show how to animate a visualization of BFS as it steps through and discovers every node in a graph.

I have a video where I talk about what each part of this code does that you can also view at Graph Animation Code Video

Voters
Profile icon
MauroFernandes
Profile icon
NAPATTARAKRITCH
Profile icon
ReDream
Profile icon
hxtruong
Profile icon
gjenkinsedu