Coder Social home page Coder Social logo

icn3d's Introduction

iCn3D Structure Viewer

iCn3D

"I see in 3D" (iCn3D) Structure Viewer is a WebGL-based 3D viewer using three.js and jquery. It is based on the 3D styles of GLmol and iview. Here are some of the added features: picking atoms, selecting residues, shiny material for displaying, improved labeling, saving state, etc.

We provided two versions of iCn3D widgets: simple interface and advanced interface. Both widgets can be easily added to web pages.

  1. The simple interface has the minimum javascript code for the interface and is easy to understand. It has the basic features to change color and styles.
  2. The advanced interface has a library for the interface and is more complicated to understand. It has many features.

Usage

Please see the help page to embed iCn3D in your page.

Third party Libraries used

  • JQuery and JQuery UI: used as a general tool to write Javascript code. Some JQuery UI features are used.
  • Three.js: used to set up the 3D view.

Tools based on

  • iview: iCn3D is mainly based on iview.
  • GLmol: Some features (such as drawing cartoons for nucleotides) are from GLmol.

Building

You should be able to run this out-of-the-box after cloning it, as long as you're attempting to view the files through a web server.

To build the concatenated, minified files, make sure you have Node.js and npm installed, and then perform the following setup steps in your working copy of icn3d.

npm install -g gulp
npm install

The first line installs the gulp build tool globally, making the gulp command available on the command line. The next line installs all of the dependences for this project.

You only have to perform the above steps once, to set up your working directory. From then on, to build, simply enter:

gulp

Then, serve the site from an HTTP server, to test it. If you don't have one readily available, one option is to install the http-server app, and run it, with:

npm install -g http-server
http-server

You should then be able to see the help page from http://localhost:8080/icn3d.html.

Run gulp help to get a list of the available tasks.

Change log

This is a beta release. Please send all comments to [email protected].

icn3d's People

Contributors

jiywang3 avatar klortho avatar lewisg-ncbi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.