• This repository has been archived on 09/Mar/2021
  • Stars
    star
    107
  • Rank 312,299 (Top 7 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 10 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Yeoman generator for three.js experiments

generator-threejs Build Status

A generator for Yeoman that builds basic scaffolding based on common best practices for a project using three.js.

The generated project includes a local server for live reloading and linting as you develop (see the Development Server section below for how to run the server).

The starting javascript is exactly the same as the usage guide in the three.js README.

Requirejs is optionally included.

Getting Started

What is Yeoman?

Trick question. It's not a thing. It's this guy:

Yeoman

Basically, he wears a top hat, lives in your computer, and waits for you to tell him what kind of application you wish to create.

Not every new computer comes with a Yeoman pre-installed. He lives in the npm package repository. You only have to ask for him once, then he packs up and moves into your hard drive. Make sure you clean up, he likes new and shiny things.

$ npm install -g yo

Usage

To install generator-threejs from npm, run:

$ npm install -g generator-threejs

Then, initiate the generator:

$ yo threejs

Options

Running the generator will present you with any options in a prompt.

options.requirejs

Type: Boolean
Default: true

Use AMD in your project.

Development Server

The scaffolding includes a local server using Grunt. To start, make sure you have the grunt-cli installed and run grunt.

Getting To Know Yeoman

Yeoman has a heart of gold. He's a person with feelings and opinions, but he's very easy to work with. If you think he's too opinionated, he can be easily convinced.

If you'd like to get to know Yeoman better and meet some of his friends, Grunt and Bower, check out the complete Getting Started Guide.

Release History

  • 0.3.0 2/17/2015 Updated starting script in main.js and node dependencies.
  • 0.2.4 7/30/2014 Updated all node dependencies.
  • 0.2.3 2/3/2014 Update generator in accordance with http://yeoman.io/blog/cleanup.html. Update all npm packages.
  • 0.2.1 1/16/2014 Update all npm packages.
  • 0.2.0 1/16/2014 Add .gitignore to project. Update grunt-bowercopy.
  • 0.1.0 12/2/2013 Initial release

License

MIT License

More Repositories

1

panzoom

A library for panning and zooming elements using CSS transforms 🔍
TypeScript
2,008
star
2

grunt-bowercopy

Scrupulously manage file locations for bower dependencies.
JavaScript
207
star
3

jquery.onoff

Interactive, accessible toggle switches for the web.
JavaScript
91
star
4

password123

jQuery plugin. iPhone-style password fields!
JavaScript
38
star
5

grunt-npmcopy

npm on the Front-End without the cruft.
JavaScript
38
star
6

minimal

A minimalistic javascript library that prefers performance and brevity over convenience or ease-of-use.
JavaScript
37
star
7

jquery-google-bubbles

A jQuery plugin for changing the appearance of info windows and pins on a Google map.
JavaScript
15
star
8

page-poller

A small Node.js script that polls a website and sends a notification when there's a change. Inspired by my attempts to get a close hotel at PAX East.
JavaScript
12
star
9

devtools_themes

This is a repository to hold any themes the web community puts together for Devtools.
11
star
10

jquery.minlight

A jQuery plugin for lightboxes made to work seamlessly with CSS transitions and animations.
JavaScript
10
star
11

Rare-Javascript-Operators-Slides

20 Slides about operators.
JavaScript
7
star
12

jquery.event.pointertouch

A jQuery event "fixHook" for pointer and touch events.
JavaScript
4
star
13

requiredfields

Minimalistic form validation for everyone. No more bloated plugin code you don't need.
JavaScript
3
star
14

Attributes-in-jQuery-Slides

Presentation on attributes and properties in jQuery 1.6
JavaScript
2
star
15

.emacs.d

Personal Emacs Customization
Emacs Lisp
2
star
16

devlink-galaga

Adapted from a phaser.io example, this is a galaga-like game with some devlink flavor.
JavaScript
2
star
17

legacy_timmywil.github.com

Retired personal site. Kept here for nostalgia.
JavaScript
1
star
18

.vim

Not catered to public consumption. Just my personal vim config.
Vim Script
1
star
19

html5placeholders

HTML5 placeholders across all browsers
JavaScript
1
star
20

textmate-bundles

Customized Bundles
PHP
1
star
21

qunit-example

An example QUnit repo to help debug issues with browserstack
JavaScript
1
star
22

react-native-deployment-example

An example repo for deploying React Native apps using a single command.
Ruby
1
star
23

react-native-bug-example

A throwaway repo for reproducing react-native-bugs
Objective-C
1
star
24

pulley_upstream_jquery

For my own benefit so I don't lose it. This is a fork of jeresig's pulley, but made to work with upstream jQuery.
JavaScript
1
star
25

Inputs-Selector

New versions of jQuery make this plugin unnecessary. Deprecated.
JavaScript
1
star