Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

readme expanding (fixing #29 & #30) #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
101 changes: 98 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,99 @@
Gunswap is a web-based juggling animator.
<h1 align="center">Gunswap — Juggling Animator</h1>

Project page: http://gunswap.co
Example GIFs: http://imgur.com/a/3QcTQ
> An interactive web-based juggling simulator with many settings, camera controls and pattern savings. Project page: [gunswap.co](http://gunswap.co). Example gifs: [here](http://imgur.com/a/3QcTQ).

<p align="center">
<img align="middle" width="222" src="public/img/stickman-millsmess.gif">
</p>



# Table of contents

- [Features](#features)
- [How to use](#how-to-use)
- [Development](#development)
- [Testing](#testing)
- [Software Credits](#software-credits)
- [License](#license)



# Features


- Animate juggling patterns using standard vanilla, multiplex and synchronous siteswap - notation.
- View patterns from sky camera or first person view. Rotate/zoom camera using mouse.
- Props include balls, clubs and rings. Change colors, size and bounciness.
- Customizable hand movement to support patterns like mills mess and factory.
- Passing with ability to define each juggler's position and rotation.
- Hand animation with modifiers for claw and penguin.
- Bounce juggling with multiple bounces, custom surfaces and multiple surfaces.
- Dwell duration modifier to stagger tosses for more realistic patterns.
- Spin modifier to allow for flats, doubles, etc.
- GIF export.
- Siteswap generator with support for multiplex and synchronous.
- Signup/login for ability to save patterns.


# How to use

_todo_



# Development

Clone your fork with ```git clone```. Then:

```bash
npm install # install dependencies
mongod # start your mongo daemon (if not working try: sudo mongod)
node server.js # start the app
```

On Windows: take a look at the `startDev.bat` script.


## Testing

_todo_

Using [Mocha](https://github.com/mochajs/mocha) as a test automation framework

```bash
grunt simplemocha
```

# Software Credits

Front-end:

- [Three.js](http://threejs.org/) - 3D graphics
- [CCapture.js](https://github.com/spite/ccapture.js) - GIF generation
- [Bootstrap](http://getbootstrap.com/) - styling</li>
- [jQuery](https://jquery.com/) - misc. JS tasks
- [yamljs](https://www.npmjs.com/package/yamljs) - YAML parsing

Back-end:

- [Node.js](https://nodejs.org/en/)
- [MongoDB](https://www.mongodb.com/) - database
- [Mongoose](http://mongoosejs.com/) - Mongo object modeling
- [Express](https://expressjs.com/) - Node web framework
- [Passport](http://passportjs.org/) - authentication
- [And more...](https://github.com/yDgunz/gunswap/blob/master/package.json)

Misc. tools:

- [Heroku](http://www.heroku.com) - application hosting
- [mLab](https://mlab.com/) - MongoDB hosting
- [GitHub](http://www.github.com) - source code hosting
- [Grunt](http://gruntjs.com/) - build tasks
- [Mocha](https://mochajs.org/) - writing tests
- [Travis CI](https://travis-ci.org/yDgunz/gunswap) - running tests


# License

__MIT__. See [LICENSE.txt](LICENSE.txt)
Binary file added public/img/coneman-cascade.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/stickman-millsmess-old.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/stickman-millsmess.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.