Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

edisedis777/DNA-Helix

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DNA-Helix

Visual Studio Code HTML CSS JavaScript CreateJS Markdown

A dynamic, interactive visualization of a DNA double helix structure with animated background particles, built using CreateJS. It's optimized for both desktop and mobile devices.

DNA Helix Visualization

Demo

Try it live: HERE

Features

  • Interactive DNA Helix: Side-view animation of a DNA double helix with accurate base pairing (A-T, C-G).
  • Base Pair Connections: Subtle lines connecting complementary base pairs for clarity.
  • Animated Background: Dynamic particle system with varied movement and hues, enhancing the visual depth.
  • Responsive Design: Adapts seamlessly to different screen sizes and orientations.
  • Mobile Optimization: Touch controls for panning on mobile devices, reduced particle count, and lower framerate for performance.
  • Legend: Color-coded guide for nucleobases (Adenine, Cytosine, Guanine, Thymine, Uracil).
  • Title: Clear "DNA Helix Visualization" header for context.

Installation

Clone the Repository:

git clone https://github.com/[your-username]/dna-helix-visualization.git
cd dna-helix-visualization

Serve the Files: Since this is a static web project, you can serve it using a simple HTTP server.

For example, with Python:

Copy
python -m http.server 8000

Or with Node.js (using http-server):

npm install -g http-server
http-server

Open in Browser: Navigate to http://localhost:8000 (or the port specified by your server) in your web browser.

Usage

  • Desktop: View the animation and observe the DNA helix structure with background particles.
  • Mobile: Swipe left or right to pan the helix horizontally and explore different sections.
  • Responsive: Resize the browser window or rotate your mobile device to see the layout adapt.

Files

  • index.html: Main HTML structure
  • styles.css: Responsive styling for layout and elements
  • script.js: Core JavaScript logic using CreateJS for animation and interaction

Dependencies

  • CreateJS (loaded via CDN in index.html)

Project Structure

Copy
dna-helix-visualization/
├── index.html         # Main HTML file
├── styles.css         # Stylesheet with responsive design
├── script.js          # JavaScript logic and animation
└── README.md          # This file

Contributing

  • Contributions are welcome!

Issues

  • Found a bug or have a suggestion? Please open an issue with details.

Credits

  • Built with CreateJS

License

  • Distributed under the GNU Affero General Public License v3.0 License. See LICENSE for more information.

About

A dynamic, interactive visualization of a DNA double helix structure with animated background particles, built using CreateJS.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.