Giter VIP home page Giter VIP logo

fp's Introduction

% Fierce Planet

Fierce Planet

Fierce Planet is an open source toolkit for developing agent-based models, with a focus on urban and social simulations.

It runs on Node.js on the server, and uses Three.js extensively to generate 3D simulations in the browser. Click here to check your browser is compatible.

For more information, please visit:

Running Fierce Planet

To run Fierce Planet locally:

  • Clone the repository

  • Ensure the following dependencies are installed:

  • Then run:

    cd fp npm install gulp dist node app.js

  • You should then be able to visit http://localhost:3000 to view the example and built-in project simulations.

In addition, a number of other commands can be run using gulp:

Building the source

To generate code documentation, run:

    gulp require

Generating code docs

To generate code documentation, run:

    gulp jsdoc

Generating the website

To convert the HTML website content from the Markdown docs:

    gulp pandoc-site

Running Babel to convert ES6 code to ES5

A small amount of code currently uses ES6 for convenience. To convert this code to ES5, run:

    gulp babel-shader

Code Layout

The code includes the following

  • docs: The text content of the website, in Markdown format.
  • public: All assets (HTML, JavaScript, stylesheets, images, etc.) needed to run Fierce Planet.
  • public/js/fp: The source code for running Fierce Planet simulations.
  • public/examples: Examples of how Fierce Planet can be configured.
  • public/projects: Project that use and extend Fierce Planet.

fp's People

Contributors

liammagee 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.