GeneSnap is an interactive, educational React application designed to help users explore genetic information ๐งฌ through fun visualizations ๐จ and games ๐ฎ. Users can learn about their genetic makeup ๐งฌ๐งโ๐ฌ, inheritance patterns ๐, and how certain traits are passed down through generations ๐ฌ. With a focus on visualizing DNA sequences ๐งฌ and chromosome structures ๐งฌ๐, GeneSnap aims to make genetics engaging and approachable for students ๐, hobbyists ๐จ, and anyone curious about the science of heredity ๐ฑ.
- Interactive DNA Visualizations: Visualize DNA sequences and chromosomes to understand genetic information.
- Educational Games: Fun, interactive games that teach inheritance patterns and genetic traits.
- Explore Your Genetic Makeup: Learn about traits passed down through generations in an interactive way.
- User-Friendly Design: Easy-to-navigate UI with smooth interactions, powered by Tailwind CSS for modern and responsive styling
GeneSnap is an interactive, educational React application designed to help users explore genetic information through fun visualizations and games. Users can learn about their genetic makeup, inheritance patterns, and how certain traits are passed down through generations. With a focus on visualizing DNA sequences and chromosome structures, GeneSnap aims to make genetics engaging and approachable for students, hobbyists, and anyone curious about the science of heredity.
- DNA Sequence Visualizer: Users can input a DNA sequence and visualize it with color-coded base pairs.
- Trait Inheritance Simulator: Simulate Mendelian inheritance patterns and see how traits are passed through generations.
- Gene Encyclopedia: A library of commonly studied genes and their associated traits, along with detailed explanations.
- Interactive Games: Fun, interactive challenges to test your knowledge of genetics, such as guessing the genotypes of offspring based on parentsโ traits.
- Genetic Crosses Tool: A visual tool for performing Punnett square calculations and determining possible offspring outcomes.
- Educational Content: Learn about genetics, genetic disorders, and gene therapy through easy-to-understand explanations and images.
- React: For building the user interface.
- D3.js: For rendering dynamic, interactive charts and genetic visualizations.
-
- Redux: For managing global state and user interactions.
- React Router: For handling routing between different pages.
- Tailwind CSS: A utility-first CSS framework for fast and customizable UI design.
- Vite: For fast development and bundling.
-
Clone the repository:
git clone https://github.com/yourusername/genesnap.git cd genesnap
-
Install dependencies:
npm install
-
Run the development server:
npm start
-
Open your browser and navigate to
http://localhost:3000
to start exploring genetics with GeneSnap!
- DNA Sequence Visualizer: Visualize your DNA sequences with interactive base pairs.
- Punnett Square: Easily simulate genetic crosses and explore inheritance patterns.
Contributions to improve GeneSnap are welcome! Whether you want to add a new genetic trait, improve the visualizations, or contribute to the educational content, feel free to submit a pull request or open an issue.
This project is open-sourced under the MIT License - see the LICENSE file for details.
- Project Maintainer: [Your Name]
- Email: [Your Email]
- Project Repository: https://github.com/yourusername/genesnap
GeneSnap is an interactive, educational React application designed to help users explore genetic information ๐งฌ through fun visualizations ๐จ and games ๐ฎ. Users can learn about their genetic makeup ๐งฌ๐งโ๐ฌ, inheritance patterns ๐, and how certain traits are passed down through generations ๐ฌ. With a focus on visualizing DNA sequences ๐งฌ and chromosome structures ๐งฌ๐, GeneSnap aims to make genetics engaging and approachable for students ๐, hobbyists ๐จ, and anyone curious about the science of heredity ๐ฑ.
- Interactive DNA Visualizations: Visualize DNA sequences and chromosomes to understand genetic information.
- Educational Games: Fun, interactive games that teach inheritance patterns and genetic traits.
- Explore Your Genetic Makeup: Learn about traits passed down through generations in an interactive way.
- User-Friendly Design: Easy-to-navigate UI with smooth interactions, powered by Tailwind CSS for modern and responsive styling.
GeneSnap is an interactive, educational React application designed to help users explore genetic information through fun visualizations and games. Users can learn about their genetic makeup, inheritance patterns, and how certain traits are passed down through generations. With a focus on visualizing DNA sequences and chromosome structures, GeneSnap aims to make genetics engaging and approachable for students, hobbyists, and anyone curious about the science of heredity.
- DNA Sequence Visualizer: Users can input a DNA sequence and visualize it with color-coded base pairs.
- Trait Inheritance Simulator: Simulate Mendelian inheritance patterns and see how traits are passed through generations.
- Gene Encyclopedia: A library of commonly studied genes and their associated traits, along with detailed explanations.
- Interactive Games: Fun, interactive challenges to test your knowledge of genetics, such as guessing the genotypes of offspring based on parentsโ traits.
- Genetic Crosses Tool: A visual tool for performing Punnett square calculations and determining possible offspring outcomes.
- Educational Content: Learn about genetics, genetic disorders, and gene therapy through easy-to-understand explanations and images.
- React: For building the user interface.
- D3.js: For rendering dynamic, interactive charts and genetic visualizations.
-
- Redux: For managing global state and user interactions.
- React Router: For handling routing between different pages.
- Tailwind CSS: A utility-first CSS framework for fast and customizable UI design.
- Vite: For fast development and bundling.
-
Clone the repository:
git clone https://github.com/yourusername/genesnap.git cd genesnap
-
Install dependencies:
npm install
-
Run the development server:
npm start
-
Open your browser and navigate to
http://localhost:3000
to start exploring genetics with GeneSnap!
genesnap/
โโโ public/ # Public assets served by the app
โ โโโ index.html # Root HTML file
โ โโโ favicon.ico # App favicon
โ โโโ assets/ # Public static assets
โ โโโ images/ # Images like logos, icons, etc.
โ โโโ fonts/ # Custom fonts
โโโ src/ # Main source code for the app
โ โโโ components/ # Reusable React components
โ โ โโโ DNAVisualizer.js # Component to visualize DNA sequences
โ โ โโโ TraitSimulator.js # Component for inheritance patterns simulator
โ โ โโโ GeneEncyclopedia.js # Component for displaying genes and traits info
โ โ โโโ PunnettSquare.js # Component for performing Punnett square calculations
โ โ โโโ EducationalContent.js # Component for displaying educational content
โ โ โโโ Navbar.js # Navbar component
โ โโโ pages/ # Page-level components
โ โ โโโ HomePage.js # Main landing page
โ โ โโโ AboutPage.js # About page for the project
โ โ โโโ GamePage.js # Page for interactive games
โ โ โโโ GeneLibraryPage.js # Gene library page
โ โโโ store/ # Redux store for global state management
โ โ โโโ actions.js # Redux actions
โ โ โโโ reducers.js # Redux reducers
โ โ โโโ store.js # Redux store configuration
โ โโโ utils/ # Utility functions
โ โ โโโ colorUtils.js # Helper functions for color gradients
โ โ โโโ geneticUtils.js # Functions for genetic calculations
โ โโโ App.js # Root component of the application
โ โโโ index.js # Entry point to render the app
โ โโโ router.js # React Router configuration for page routing
โ โโโ styles/ # Global and component-specific styles
โ โ โโโ global.css # Global styles for the app
โ โ โโโ tailwind.css # Tailwind CSS customizations
โ โโโ .env # Environment variables (e.g., API keys)
โ โโโ .gitignore # Git ignore file
โโโ tests/ # Unit and integration tests
โ โโโ components/ # Component tests
โ โ โโโ DNAVisualizer.test.js # Tests for DNA visualizer
โ โ โโโ TraitSimulator.test.js # Tests for trait simulator
โ โ โโโ PunnettSquare.test.js # Tests for Punnett square
โ โโโ pages/ # Page tests
โ โโโ utils/ # Utility function tests
โโโ tailwind.config.js # Tailwind CSS configuration
โโโ package.json # Project dependencies and scripts
โโโ vite.config.js # Vite configuration for bundling
โโโ tsconfig.json # TypeScript configuration
โโโ README.md # Project documentation
- DNA Sequence Visualizer: Visualize your DNA sequences with interactive base pairs.
- Punnett Square: Easily simulate genetic crosses and explore inheritance patterns.
Contributions to improve GeneSnap are welcome! Whether you want to add a new genetic trait, improve the visualizations, or contribute to the educational content, feel free to submit a pull request or open an issue.
This project is open-sourced under the MIT License - see the LICENSE file for details.
- Project Maintainer: [Your Name]
- Email: [Your Email]
- Project Repository: https://github.com/yourusername/genesnap