We developed two virtual reality demonstrations for electromagnetism. For statics, we use spherical building blocks and superposition to calculate the electric field of a user-generated configuration of charge. The electric field information is displayed on a three-dimensional grid using vector arrows. A second demonstration displays field information for electromagnetic fields generated by a particle moving along a user-generated path (at arbitrary speed). We used the Unity game creation engine to efficiently develop the demonstrations, and tested them on an HTC Vive VR headset with handheld controllers.