Skip to content

jayasrisng/simplePendulum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎯 Simple Pendulum – Unity Physics Simulation

This Unity project simulates a simple pendulum using Rigidbody physics and configurable joints. It's meant for educational demos, physics experiments, or as a base for larger simulations.

🚀 Features

  • Realistic pendulum movement using Unity's physics engine
  • Minimal setup: works out-of-the-box
  • Clean C# scripting and modular hierarchy
  • Lightweight: built for fast testing or teaching

🎥 Overview & VR Concept

Watch demo videos to get an understanding of what this project does. This project includes different scenes for single and multi-pendulum setups.

The objective of this project is to enable manipulation of a virtual pendulum in ways not possible with a real one. In VR, users can pause and play the simulation while preserving physical properties like velocity and momentum—unlike real-world pendulums, which are influenced by external conditions such as wind or drag.

The multi-pendulum demo showcases how varying pendulum lengths affect motion. This experience was designed to illustrate how simple it is to create kinetic art blueprints in VR.

Kinetic art engages viewers through motion, but physical installations are often constrained by size, material, and safety concerns. In this project, we explore how virtual reality (VR) redefines interaction with kinetic art by providing immersive environments where users can manipulate, analyze, and engage with motion-based systems beyond real-world limitations.

Using a simple VR pendulum as a case study, users can alter parameters such as speed and gravity, pause oscillations, and explore perspectives that are otherwise impossible to achieve. This shift in interaction demonstrates how behavior changes in virtual spaces, where users actively experiment instead of passively observing.

I'd like to present the concept of virtual studios - immersive environments that allow artists, scientists, and designers to safely explore physics concepts, prototype kinetic systems, and develop blueprints. These virtual creations can be directly transferred into real-world installations, bridging the gap between imagination and reality. VR studios eliminate risks associated with real-world experimentation, enabling users to explore ideas freely and intuitively.

🛠️ Built With

  • Unity 2022.3.5f1
  • C#
  • Rigidbody2D + Physics2D components

🧩 How to Use

1. ⭐ Give it a star if you find this helpful!

2. 🍴 Fork instead of downloading

Please fork this repo instead of just downloading and re-uploading it. Here’s how:

  • Click the Fork button at the top right of the page
  • Clone your fork:
git clone https://github.com/YOUR-USERNAME/simple-pendulum-unity.git
  • Open the folder in Unity (Unity Hub → Add project → Select the folder)

3. ▶️ Run the Project

  • Open the MainScene in Assets/Scenes/
  • Click Play in Unity Editor

💡 Customization Tips

  • Change the mass or length of the pendulum in the Inspector
  • Try adding a configurable joint for more advanced motion
  • Attach trail renderers or sensors to visualize forces

📸 Demo

demo.mp4
demo_multi.mp4

🙋‍♀️ Credits

Created by Jayasri Guthula


📄 License

MIT License – Feel free to use, modify, and share with credit.

About

A Unity-based simulation of a simple pendulum built for physics demos in VR. It allows users to pause, manipulate, and observe pendulum motion, It is deal for exploring kinetic art, virtual physics, and real-time motion analysis.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors