An open API service indexing awesome lists of open source software.

https://github.com/pushtogithub23/cube_rotational_symmetry


https://github.com/pushtogithub23/cube_rotational_symmetry

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

# Cube Rotational Symmetry Visualization

This repository uses Python to explore and visualise the rotational symmetry elements of a cube. The project demonstrates how a cube remains invariant when rotated about specific symmetry axes by certain angles.

![cube_rotation_symmetry_1](https://github.com/user-attachments/assets/80ab2f6c-79b2-418b-9aa1-9dedbe654697)

## Overview

The project visualizes three main types of rotational symmetry axes in a cube:

1. **4-fold Axis of Symmetry(Tetrad)**: (3 axes)
- Passing through centres of opposite faces
- 90°, 180°, 270° rotations

2. **2-fold Axis of Symmetry(Diad)**: (6 axes)
- Passing through midpoints of opposite edges
- 180° rotations

3. **3-fold Axis of Symmetry(Triad)**: (4 axes)
- Passing through opposite vertices
- 120° and 240° rotations

## Features

- 3D visualization of a cube and its symmetry axes
- Interactive rotations about different symmetry axes
- Animated demonstrations of cube rotations
- Detailed mathematical explanations of symmetry operations

## Requirements

- Python 3.x
- NumPy
- Scipy
- Matplotlib
- IPython
- Jupyter Notebook

## Usage

1. Clone the repository
2. Open `CubeSymmetryAxes.ipynb` in Jupyter Notebook
3. Run the cells to visualize:
- Static cube representations
- Symmetry axes visualization
- Rotation animations

## Visualizations

The repository includes:
- Static images showing symmetry axes
- GIF animations demonstrating rotations
- 3D interactive plots

## Acknowledgments
This project was created to explore geometric symmetry in 3D objects using Python visualization tools.