Giter Site home page Giter Site logo

threejs-nanopore's Introduction

#threejs-nanopore

Nanopore device drawn with threejs

Installing dependencies

index.html expects certain dependencies.

  1. bower_components/threejs/build/threejs.min.js
  2. bower_components/stats.js/build/stats.min.js

You can install these dependencies a couple of ways:

  1. Using bower to install dependencies.
$ bower install
  1. Download the dependencies and put them in the appropriate subdirectory yourself.
$ mkdir -p bower_components/threejs/build
$ cd bower_components/threejs/build
$ wget http://threejs.org/build/three.min.js   # for three.js
$ wget https://github.com/mrdoob/stats.js/raw/master/build/stats.min.js   # for stats.js

Creating the JSONLoader-ready model

The blender file is located at models/chip.blend. You should install the Three.js Blender Import/Export addon for Blender and export the Threejs model to models/chip.js.

Viewing

Start a simple server any way you know how, for example

$ python -m SimpleHTTPServer

And point your browser to the appropriate address, in this case http://localhost:8000.

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.