Skip to content

Commit

Permalink
refactor examples into separate eclipse project
Browse files Browse the repository at this point in the history
  • Loading branch information
shiffman committed Aug 3, 2013
1 parent a2a8ffd commit 599c32a
Show file tree
Hide file tree
Showing 22 changed files with 6 additions and 131 deletions.
5 changes: 3 additions & 2 deletions MPEMessagingExamples/.classpath
Expand Up @@ -11,8 +11,6 @@
<attribute name="org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY" value="MPEMessagingExamples/lib/video"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="lib/simpleML.jar"/>
<classpathentry kind="lib" path="mpe.jar"/>
<classpathentry kind="lib" path="lib/minim/library/jl1.0.jar"/>
<classpathentry kind="lib" path="lib/minim/library/jsminim.jar"/>
<classpathentry kind="lib" path="lib/minim/library/minim-spi.jar"/>
Expand All @@ -21,5 +19,8 @@
<classpathentry kind="lib" path="lib/minim/library/tritonus_aos.jar"/>
<classpathentry kind="lib" path="lib/minim/library/tritonus_share.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry combineaccessrules="false" kind="src" path="/Most-Pixels-Ever-Processing"/>
<classpathentry combineaccessrules="false" kind="src" path="/processing-core"/>
<classpathentry combineaccessrules="false" kind="src" path="/processing-video"/>
<classpathentry kind="output" path="bin"/>
</classpath>
2 changes: 1 addition & 1 deletion MPEMessagingExamples/.project
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>MPEMessagingExamples</name>
<name>Most-Pixels-Ever-Examples</name>
<comment></comment>
<projects>
</projects>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file removed MPEMessagingExamples/lib/core/core.jar
Binary file not shown.
Binary file removed MPEMessagingExamples/lib/simpleML.jar
Binary file not shown.
Binary file removed MPEMessagingExamples/lib/video/video.jar
Binary file not shown.
Binary file removed MPEMessagingExamples/mpe.jar
Binary file not shown.
7 changes: 0 additions & 7 deletions MPEMessagingExamples/mpefiles/mpe0.ini

This file was deleted.

7 changes: 0 additions & 7 deletions MPEMessagingExamples/mpefiles/mpe1.ini

This file was deleted.

7 changes: 0 additions & 7 deletions MPEMessagingExamples/mpefiles/mpe2.ini

This file was deleted.

5 changes: 2 additions & 3 deletions MPEMessagingExamples/src/helloworld/HelloWorld.java
Expand Up @@ -15,7 +15,7 @@

public class HelloWorld extends PApplet {

final int ID = 1;
final int ID = 0;
float x;
TCPClient client;

Expand All @@ -28,7 +28,7 @@ static public void main(String args[]) {
public void setup() {
// make a new Client using an INI file
// sketchPath() is used so that the INI file is local to the sketch
client = new TCPClient(sketchPath("mpefiles/mpe"+ID+".ini"), this);
client = new TCPClient("mpe"+ID+".xml", this);

// the size is determined by the client's local width and height
size(client.getLWidth(), client.getLHeight());
Expand All @@ -47,7 +47,6 @@ public void setup() {
// Keep the motor running... draw() needs to be added in auto mode, even if
// it is empty to keep things rolling.
public void draw() {
frame.setLocation(client.getID()*client.getLWidth(),0);
}

//--------------------------------------
Expand Down
104 changes: 0 additions & 104 deletions Most-Pixels-Ever-Processing/src/template/library/HelloLibrary.java

This file was deleted.

0 comments on commit 599c32a

Please sign in to comment.