diff --git a/bin/data/zzScenes/zzEatRepeatScene/eat.svg b/bin/data/zzScenes/zzEatRepeatScene/eat.svg
new file mode 100644
index 0000000..425629b
--- /dev/null
+++ b/bin/data/zzScenes/zzEatRepeatScene/eat.svg
@@ -0,0 +1,4263 @@
+
+
+
diff --git a/bin/data/zzScenes/zzEatRepeatScene/exampleCode.cpp b/bin/data/zzScenes/zzEatRepeatScene/exampleCode.cpp
new file mode 100644
index 0000000..79a48b2
--- /dev/null
+++ b/bin/data/zzScenes/zzEatRepeatScene/exampleCode.cpp
@@ -0,0 +1,4 @@
+// code goes here!
+
+//if you want to show a parameter's value, which highlights when it changes you need to enclose it's name in double square brackets.
+// for a parameter named myParam you shoudl put [[myParam]] in the pseudo code below.
\ No newline at end of file
diff --git a/bin/data/zzScenes/zzNomScene/exampleCode.cpp b/bin/data/zzScenes/zzNomScene/exampleCode.cpp
new file mode 100644
index 0000000..79a48b2
--- /dev/null
+++ b/bin/data/zzScenes/zzNomScene/exampleCode.cpp
@@ -0,0 +1,4 @@
+// code goes here!
+
+//if you want to show a parameter's value, which highlights when it changes you need to enclose it's name in double square brackets.
+// for a parameter named myParam you shoudl put [[myParam]] in the pseudo code below.
\ No newline at end of file
diff --git a/bin/data/zzScenes/zzNomScene/nom.svg b/bin/data/zzScenes/zzNomScene/nom.svg
new file mode 100644
index 0000000..62dc31d
--- /dev/null
+++ b/bin/data/zzScenes/zzNomScene/nom.svg
@@ -0,0 +1,22 @@
+
+
+
diff --git a/bin/data/zzScenes/zzSpreadTheLove/exampleCode.cpp b/bin/data/zzScenes/zzSpreadTheLove/exampleCode.cpp
new file mode 100644
index 0000000..79a48b2
--- /dev/null
+++ b/bin/data/zzScenes/zzSpreadTheLove/exampleCode.cpp
@@ -0,0 +1,4 @@
+// code goes here!
+
+//if you want to show a parameter's value, which highlights when it changes you need to enclose it's name in double square brackets.
+// for a parameter named myParam you shoudl put [[myParam]] in the pseudo code below.
\ No newline at end of file
diff --git a/recoded.xcodeproj/project.pbxproj b/recoded.xcodeproj/project.pbxproj
index 1021091..761ed2b 100644
--- a/recoded.xcodeproj/project.pbxproj
+++ b/recoded.xcodeproj/project.pbxproj
@@ -79,6 +79,16 @@
928A7D091FBB5BDE003A2403 /* zzEggScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 928A7D031FBB5BDE003A2403 /* zzEggScene.cpp */; };
928A7D0A1FBB5BDE003A2403 /* zzCloudyScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 928A7D061FBB5BDE003A2403 /* zzCloudyScene.cpp */; };
928A7D0D1FBB7974003A2403 /* emoji.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 928A7D0B1FBB7974003A2403 /* emoji.cpp */; };
+ 928A7D5D1FBC6E30003A2403 /* src_colors.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 928A7D411FBC6E30003A2403 /* src_colors.cpp */; };
+ 928A7D5E1FBC6E30003A2403 /* svgtiny.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 928A7D421FBC6E30003A2403 /* svgtiny.cpp */; };
+ 928A7D5F1FBC6E30003A2403 /* svgtiny_gradient.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 928A7D441FBC6E30003A2403 /* svgtiny_gradient.cpp */; };
+ 928A7D601FBC6E30003A2403 /* svgtiny_list.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 928A7D461FBC6E30003A2403 /* svgtiny_list.cpp */; };
+ 928A7D611FBC6E30003A2403 /* ofxSvgBase.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 928A7D4A1FBC6E30003A2403 /* ofxSvgBase.cpp */; };
+ 928A7D621FBC6E30003A2403 /* ofxSvgGroup.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 928A7D4C1FBC6E30003A2403 /* ofxSvgGroup.cpp */; };
+ 928A7D631FBC6E30003A2403 /* ofxSvgLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 928A7D4E1FBC6E30003A2403 /* ofxSvgLoader.cpp */; };
+ 928A7D6D1FBC7113003A2403 /* zzEatRepeatScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 928A7D651FBC7113003A2403 /* zzEatRepeatScene.cpp */; };
+ 928A7D6E1FBC7113003A2403 /* zzSpreadTheLove.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 928A7D681FBC7113003A2403 /* zzSpreadTheLove.cpp */; };
+ 928A7D6F1FBC7113003A2403 /* zzNomScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 928A7D6B1FBC7113003A2403 /* zzNomScene.cpp */; };
933A2227713C720CEFF80FD9 /* tinyxml.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2B40EDA85BEB63E46785BC29 /* tinyxml.cpp */; };
94D0F90B1F34F0CB0BEF6E94 /* mgsCooperSymbols.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A7F7FD17D58145A29907951 /* mgsCooperSymbols.cpp */; };
94E1EBB02DE5E09C21993153 /* dgif_lib.c in Sources */ = {isa = PBXBuildFile; fileRef = 7D22515AB9C73BAC9AF07B05 /* dgif_lib.c */; };
@@ -345,6 +355,24 @@
928A7D071FBB5BDE003A2403 /* zzCloudyScene.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zzCloudyScene.h; sourceTree = ""; };
928A7D0B1FBB7974003A2403 /* emoji.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = emoji.cpp; sourceTree = ""; };
928A7D0C1FBB7974003A2403 /* emoji.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = emoji.hpp; sourceTree = ""; };
+ 928A7D411FBC6E30003A2403 /* src_colors.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = src_colors.cpp; sourceTree = ""; };
+ 928A7D421FBC6E30003A2403 /* svgtiny.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = svgtiny.cpp; sourceTree = ""; };
+ 928A7D431FBC6E30003A2403 /* svgtiny.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = svgtiny.h; sourceTree = ""; };
+ 928A7D441FBC6E30003A2403 /* svgtiny_gradient.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = svgtiny_gradient.cpp; sourceTree = ""; };
+ 928A7D451FBC6E30003A2403 /* svgtiny_internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = svgtiny_internal.h; sourceTree = ""; };
+ 928A7D461FBC6E30003A2403 /* svgtiny_list.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = svgtiny_list.cpp; sourceTree = ""; };
+ 928A7D4A1FBC6E30003A2403 /* ofxSvgBase.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ofxSvgBase.cpp; sourceTree = ""; };
+ 928A7D4B1FBC6E30003A2403 /* ofxSvgBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxSvgBase.h; sourceTree = ""; };
+ 928A7D4C1FBC6E30003A2403 /* ofxSvgGroup.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ofxSvgGroup.cpp; sourceTree = ""; };
+ 928A7D4D1FBC6E30003A2403 /* ofxSvgGroup.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxSvgGroup.h; sourceTree = ""; };
+ 928A7D4E1FBC6E30003A2403 /* ofxSvgLoader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ofxSvgLoader.cpp; sourceTree = ""; };
+ 928A7D4F1FBC6E30003A2403 /* ofxSvgLoader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ofxSvgLoader.h; sourceTree = ""; };
+ 928A7D651FBC7113003A2403 /* zzEatRepeatScene.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = zzEatRepeatScene.cpp; sourceTree = ""; };
+ 928A7D661FBC7113003A2403 /* zzEatRepeatScene.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zzEatRepeatScene.h; sourceTree = ""; };
+ 928A7D681FBC7113003A2403 /* zzSpreadTheLove.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = zzSpreadTheLove.cpp; sourceTree = ""; };
+ 928A7D691FBC7113003A2403 /* zzSpreadTheLove.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zzSpreadTheLove.h; sourceTree = ""; };
+ 928A7D6B1FBC7113003A2403 /* zzNomScene.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = zzNomScene.cpp; sourceTree = ""; };
+ 928A7D6C1FBC7113003A2403 /* zzNomScene.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zzNomScene.h; sourceTree = ""; };
93CE6D5A4C7FBFAACBF65A16 /* niklasWhitneySineWave.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.cpp; fileEncoding = 30; name = niklasWhitneySineWave.cpp; path = src/scenes/niklasWhitneySineWave/niklasWhitneySineWave.cpp; sourceTree = SOURCE_ROOT; };
94705193E8ABD23283009175 /* RileyArcsRoy.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.cpp; fileEncoding = 30; name = RileyArcsRoy.cpp; path = src/scenes/RileyArcsRoy/RileyArcsRoy.cpp; sourceTree = SOURCE_ROOT; };
9604B925D32EE39065747725 /* ofxBaseGui.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.cpp; fileEncoding = 30; name = ofxBaseGui.cpp; path = ../../../addons/ofxGui/src/ofxBaseGui.cpp; sourceTree = SOURCE_ROOT; };
@@ -1023,6 +1051,7 @@
6948EE371B920CB800B5AC1A /* local_addons */ = {
isa = PBXGroup;
children = (
+ 928A7D191FBC6E30003A2403 /* ofxSvgLoader */,
B0822B061FB54A6E00007B2D /* ofxPoissonDiskSampling */,
B0822AF81FB549D000007B2D /* ofxDelaunay */,
B0822A931FB5491200007B2D /* ofxMidi */,
@@ -1180,6 +1209,9 @@
9259DF4D1FBA06DA00F4B42E /* zzScenes */ = {
isa = PBXGroup;
children = (
+ 928A7D641FBC7113003A2403 /* zzEatRepeatScene */,
+ 928A7D6A1FBC7113003A2403 /* zzNomScene */,
+ 928A7D671FBC7113003A2403 /* zzSpreadTheLove */,
928A7CFF1FBB5BDE003A2403 /* zzBaconScene */,
928A7D051FBB5BDE003A2403 /* zzCloudyScene */,
928A7D021FBB5BDE003A2403 /* zzEggScene */,
@@ -1269,6 +1301,85 @@
path = zzCloudyScene;
sourceTree = "";
};
+ 928A7D191FBC6E30003A2403 /* ofxSvgLoader */ = {
+ isa = PBXGroup;
+ children = (
+ 928A7D3E1FBC6E30003A2403 /* libs */,
+ 928A7D491FBC6E30003A2403 /* src */,
+ );
+ name = ofxSvgLoader;
+ path = local_addons/ofxSvgLoader;
+ sourceTree = "";
+ };
+ 928A7D3E1FBC6E30003A2403 /* libs */ = {
+ isa = PBXGroup;
+ children = (
+ 928A7D3F1FBC6E30003A2403 /* svgTiny */,
+ );
+ path = libs;
+ sourceTree = "";
+ };
+ 928A7D3F1FBC6E30003A2403 /* svgTiny */ = {
+ isa = PBXGroup;
+ children = (
+ 928A7D401FBC6E30003A2403 /* src */,
+ );
+ path = svgTiny;
+ sourceTree = "";
+ };
+ 928A7D401FBC6E30003A2403 /* src */ = {
+ isa = PBXGroup;
+ children = (
+ 928A7D411FBC6E30003A2403 /* src_colors.cpp */,
+ 928A7D421FBC6E30003A2403 /* svgtiny.cpp */,
+ 928A7D431FBC6E30003A2403 /* svgtiny.h */,
+ 928A7D441FBC6E30003A2403 /* svgtiny_gradient.cpp */,
+ 928A7D451FBC6E30003A2403 /* svgtiny_internal.h */,
+ 928A7D461FBC6E30003A2403 /* svgtiny_list.cpp */,
+ );
+ path = src;
+ sourceTree = "";
+ };
+ 928A7D491FBC6E30003A2403 /* src */ = {
+ isa = PBXGroup;
+ children = (
+ 928A7D4A1FBC6E30003A2403 /* ofxSvgBase.cpp */,
+ 928A7D4B1FBC6E30003A2403 /* ofxSvgBase.h */,
+ 928A7D4C1FBC6E30003A2403 /* ofxSvgGroup.cpp */,
+ 928A7D4D1FBC6E30003A2403 /* ofxSvgGroup.h */,
+ 928A7D4E1FBC6E30003A2403 /* ofxSvgLoader.cpp */,
+ 928A7D4F1FBC6E30003A2403 /* ofxSvgLoader.h */,
+ );
+ path = src;
+ sourceTree = "";
+ };
+ 928A7D641FBC7113003A2403 /* zzEatRepeatScene */ = {
+ isa = PBXGroup;
+ children = (
+ 928A7D651FBC7113003A2403 /* zzEatRepeatScene.cpp */,
+ 928A7D661FBC7113003A2403 /* zzEatRepeatScene.h */,
+ );
+ path = zzEatRepeatScene;
+ sourceTree = "";
+ };
+ 928A7D671FBC7113003A2403 /* zzSpreadTheLove */ = {
+ isa = PBXGroup;
+ children = (
+ 928A7D681FBC7113003A2403 /* zzSpreadTheLove.cpp */,
+ 928A7D691FBC7113003A2403 /* zzSpreadTheLove.h */,
+ );
+ path = zzSpreadTheLove;
+ sourceTree = "";
+ };
+ 928A7D6A1FBC7113003A2403 /* zzNomScene */ = {
+ isa = PBXGroup;
+ children = (
+ 928A7D6B1FBC7113003A2403 /* zzNomScene.cpp */,
+ 928A7D6C1FBC7113003A2403 /* zzNomScene.h */,
+ );
+ path = zzNomScene;
+ sourceTree = "";
+ };
98927F7FDBF63A8A6918DE72 /* jacobsonMolnar_01 */ = {
isa = PBXGroup;
children = (
@@ -2132,6 +2243,7 @@
2E6C274B1FBA494600D54DC9 /* zzSushiScene.cpp in Sources */,
BFF99FC5F470B5FA65641F39 /* chrisMurielCooper.cpp in Sources */,
3B19311B9A0680F23DDF9B97 /* chrisRileyCascando.cpp in Sources */,
+ 928A7D5E1FBC6E30003A2403 /* svgtiny.cpp in Sources */,
F0B16E86020ABBE853B7EBFC /* chrisVeraInterruptions.cpp in Sources */,
E8BC19F21FA720177F341A52 /* Cooper3dText.cpp in Sources */,
41380A28A9973166A9CCB948 /* CooperBauhaus.cpp in Sources */,
@@ -2139,6 +2251,7 @@
B0822B241FB55B5500007B2D /* weiMolnar_01.cpp in Sources */,
4D2FDE7689030999895271E8 /* EstherKnowltonScene.cpp in Sources */,
B0822AE81FB5491200007B2D /* ofxMidiRecorder.cpp in Sources */,
+ 928A7D601FBC6E30003A2403 /* svgtiny_list.cpp in Sources */,
B0822B201FB559C700007B2D /* runchalMolnar.cpp in Sources */,
2DE293FAAF850C0ABF02DB62 /* exampleScene.cpp in Sources */,
A77B3A95EDC4AE0F95E1A6BC /* fernandoMuriel.cpp in Sources */,
@@ -2170,10 +2283,12 @@
6201C2BF9E70AFAC3F69629A /* mgsRileyDescending.cpp in Sources */,
B0822AED1FB5491200007B2D /* ofxEasingBounce.cpp in Sources */,
4FC1D78BBE6BA186FAFCA02D /* mgsRileyDiamonds.cpp in Sources */,
+ 928A7D5F1FBC6E30003A2403 /* svgtiny_gradient.cpp in Sources */,
70A2E63FCED5572985116C0E /* mgsRileyEllipsesAndSquares.cpp in Sources */,
310ED8BB549B244C0DFB0FA1 /* mgsVeraMolnarLineStudy.cpp in Sources */,
9259DF601FBA06DA00F4B42E /* zzWatermelonScene.cpp in Sources */,
B0822B381FB6396800007B2D /* EstherMolnarScene.cpp in Sources */,
+ 928A7D5D1FBC6E30003A2403 /* src_colors.cpp in Sources */,
B0822AE11FB5491200007B2D /* ofxRtMidiOut.cpp in Sources */,
203D9685D89D8A6D42285C68 /* exampleCode.cpp in Sources */,
08E30F8D5828117E48A7E046 /* mwalczykVeraSquares.cpp in Sources */,
@@ -2181,15 +2296,18 @@
B0822AE21FB5491200007B2D /* ofxBaseMidi.cpp in Sources */,
AD159DB2DCE91BE9E3D73AF8 /* niklasMolnar.cpp in Sources */,
F21C08D1EF7D2CB6F2CEDFBB /* niklasMorisawa.cpp in Sources */,
+ 928A7D631FBC6E30003A2403 /* ofxSvgLoader.cpp in Sources */,
5DEE3364A6688FB48ED3921B /* niklasWhitneySineWave.cpp in Sources */,
35CC617D57D0561A1F39D1C5 /* ofxDataBender.cpp in Sources */,
B51874662BB53B0705173C5D /* olegVeraV.cpp in Sources */,
B0822AE71FB5491200007B2D /* README.md in Sources */,
+ 928A7D611FBC6E30003A2403 /* ofxSvgBase.cpp in Sources */,
F753936E1839675677ED495E /* rachelScene.cpp in Sources */,
B0822AEA1FB5491200007B2D /* ofxParameterMidiSync.cpp in Sources */,
DA5381E28EC784082D8A55C6 /* RileyArcsRoy.cpp in Sources */,
5C0873A6CCF9F6001D1FD06C /* RileyRemake-Catarina_Lee__Joao_Freire.cpp in Sources */,
B0822AF51FB5491200007B2D /* ofxEasingQuint.cpp in Sources */,
+ 928A7D6D1FBC7113003A2403 /* zzEatRepeatScene.cpp in Sources */,
D1CA2B60E665AB3C916A66A3 /* robbyMenkmanScene.cpp in Sources */,
29D3F5F4AF26FBD90065CFAB /* robbyMolnarScene.cpp in Sources */,
1DCBEB92D78ED02BB31556A4 /* robbyRileyScene.cpp in Sources */,
@@ -2212,9 +2330,11 @@
B0822B051FB549D000007B2D /* ofxDelaunay.cpp in Sources */,
B0822AEF1FB5491200007B2D /* ofxEasingCubic.cpp in Sources */,
B0822AE91FB5491200007B2D /* ofxParameterMidiInfo.cpp in Sources */,
+ 928A7D6F1FBC7113003A2403 /* zzNomScene.cpp in Sources */,
9259DF5E1FBA06DA00F4B42E /* zzEyeScene.cpp in Sources */,
B0822AF01FB5491200007B2D /* ofxEasingElastic.cpp in Sources */,
245E92652A385BF70336B232 /* veraMolnarTrapezium.cpp in Sources */,
+ 928A7D6E1FBC7113003A2403 /* zzSpreadTheLove.cpp in Sources */,
A0EECD50540F79C73BF975D7 /* weiWhitney.cpp in Sources */,
B0822AE01FB5491200007B2D /* ofxRtMidiIn.cpp in Sources */,
44606489A6B912DD08E14E3D /* yeseulCooperMessages.cpp in Sources */,
@@ -2225,6 +2345,7 @@
B0822AE61FB5491200007B2D /* ofxMidiOut.cpp in Sources */,
410217425149C63952F8B50D /* yosukeJohnWhitneyMatrix.cpp in Sources */,
D07841EA650BBE321AC6628B /* yosukeVeraSansTitre.cpp in Sources */,
+ 928A7D621FBC6E30003A2403 /* ofxSvgGroup.cpp in Sources */,
CAF74703F170D49B29ABB982 /* yumiNishida01.cpp in Sources */,
7B87948685D434C7C6CD893D /* zachTest.cpp in Sources */,
928A7D0A1FBB5BDE003A2403 /* zzCloudyScene.cpp in Sources */,
diff --git a/src/sceneManager.cpp b/src/sceneManager.cpp
index 061f912..8615760 100644
--- a/src/sceneManager.cpp
+++ b/src/sceneManager.cpp
@@ -106,6 +106,12 @@
#include "zzCloudyScene.h"
+#include "zzEatRepeatScene.h"
+#include "zzNomScene.h"
+#include "zzSpreadTheLove.h"
+
+
+
//#include "testingScene.h"
@@ -129,13 +135,20 @@ void sceneManager::setup(){
// this is for FOOD related scenes
+
+
+ scenes.push_back(new zzEatRepeatScene());
+ scenes.push_back(new zzNomScene());
+ scenes.push_back(new zzSpreadTheLove());
+
+
scenes.push_back(new zzCloudyScene());
scenes.push_back(new zzEggScene());
scenes.push_back(new zzBaconScene());
scenes.push_back(new zzWatermelonScene());
scenes.push_back(new zzWaveScene());
scenes.push_back(new zzDonutScene());
- scenes.push_back(new zzIceCreamScene());
+ //scenes.push_back(new zzIceCreamScene());
scenes.push_back(new zzBurger());
scenes.push_back(new zzPixelBurger());
scenes.push_back(new zzSushiScene());
@@ -805,7 +818,7 @@ void sceneManager::draw(){
ofPushStyle();
scenes[currentScene]->draw();
ofPopStyle();
- //ofClearAlpha();
+ ofClearAlpha();
sceneFbo.end();
// For sound and for kicks
diff --git a/src/scenes/appConstants.h b/src/scenes/appConstants.h
index c5c18df..06c0787 100644
--- a/src/scenes/appConstants.h
+++ b/src/scenes/appConstants.h
@@ -5,14 +5,14 @@
// this is for scenes with zz
// https://www.instagram.com/zzdesign/
-//#define SHOW_MSOFT_LUNCHTIME
+#define SHOW_MSOFT_LUNCHTIME
//this shows the skketches from SFPC fall 2017 class
-#define SHOW_SFPC_FALL_2017
+//#define SHOW_SFPC_FALL_2017
//THis will show all the other sketches; the ones that are not either for microsoft lunch or by sfpc2017
-#define SHOW_OTHERS
+//#define SHOW_OTHERS
// assume that visuals and code are the same here....
// and also assuming our screen is square :)
diff --git a/src/zzScenes/zzBaconScene/zzBaconScene.cpp b/src/zzScenes/zzBaconScene/zzBaconScene.cpp
index 776e563..7ec665d 100644
--- a/src/zzScenes/zzBaconScene/zzBaconScene.cpp
+++ b/src/zzScenes/zzBaconScene/zzBaconScene.cpp
@@ -20,7 +20,7 @@ void zzBaconScene::setup(){
setAuthor("Peter Pan");
setOriginalArtist("Put the original Artist's name here");
- loadCode("scenes/zzBacons/exampleCode.cpp", false);
+ loadCode("zzScenes/zzBacons/exampleCode.cpp", false);
}
diff --git a/src/zzScenes/zzBurger/zzBurger.cpp b/src/zzScenes/zzBurger/zzBurger.cpp
index 4eb28e8..7039405 100644
--- a/src/zzScenes/zzBurger/zzBurger.cpp
+++ b/src/zzScenes/zzBurger/zzBurger.cpp
@@ -15,7 +15,7 @@ void zzBurger::setup(){
// setAuthor("Put Your Name Here");
// setOriginalArtist("Put the original Artist's name here");
- loadCode("scenes/zzBurger/exampleCode.cpp", false);
+ loadCode("zzScenes/zzBurger/exampleCode.cpp", false);
ofDirectory dir("scenes/zzBurger/images/");
dir.allowExt("png");
diff --git a/src/zzScenes/zzEatRepeatScene/zzEatRepeatScene.cpp b/src/zzScenes/zzEatRepeatScene/zzEatRepeatScene.cpp
new file mode 100644
index 0000000..fa6ad03
--- /dev/null
+++ b/src/zzScenes/zzEatRepeatScene/zzEatRepeatScene.cpp
@@ -0,0 +1,66 @@
+
+#include "zzEatRepeatScene.h"
+
+void zzEatRepeatScene::setup(){
+
+// setup pramaters
+// if your original code use an ofxPanel instance dont use it here, instead
+// add your parameters to the "parameters" instance as follows.
+// param was declared in zzEatRepeatScene.h
+ //parameters.add(param.set("param", 5, 0, 100));
+
+
+ //data/zzScenes/zzEatRepeatScene/eat.svg
+
+
+ setAuthor("Put Your Name Here");
+ setOriginalArtist("Put the original Artist's name here");
+
+ loadCode("zzScenes/zzEatRepeatScene/exampleCode.cpp");
+
+
+ svg.load( "zzScenes/zzEatRepeatScene/eat.svg" );
+ cout << svg.toString();
+
+
+ shared_ptr rect = svg.get(0);
+ ofPoint midPt = rect->rectangle.getCenter();
+
+
+ vector < shared_ptr > groups = svg.getElementsForType();
+
+ for (int i = 0; i < groups.size(); i++){
+ vector < shared_ptr > paths = groups[i]->getElementsForType();
+ for (int j = 0; j < paths.size(); j++){
+ paths[j]->path.translate(-midPt);
+ }
+ }
+
+}
+
+void zzEatRepeatScene::update(){
+
+}
+
+void zzEatRepeatScene::draw(){
+
+ ofBackground(255,0,0);
+
+
+ shared_ptr rect = svg.get(0);
+ ofPoint midPt = rect->rectangle.getCenter();
+
+
+ vector < shared_ptr > groups = svg.getElementsForType();
+
+ //cout << groups.size() << endl;
+ ofTranslate(midPt);
+ for (int i = 0; i < groups.size(); i++){
+ vector < shared_ptr > paths = groups[i]->getElementsForType();
+ ofRotateZ(ofGetElapsedTimef() * (1 + i*0.1));
+ ofRotateX(ofGetElapsedTimef() * (1 + i*0.1));
+ for (int j = 0; j < paths.size(); j++){
+ paths[j]->path.draw();
+ }
+ }
+}
diff --git a/src/zzScenes/zzEatRepeatScene/zzEatRepeatScene.h b/src/zzScenes/zzEatRepeatScene/zzEatRepeatScene.h
new file mode 100644
index 0000000..4799e66
--- /dev/null
+++ b/src/zzScenes/zzEatRepeatScene/zzEatRepeatScene.h
@@ -0,0 +1,27 @@
+#pragma once
+
+#include "ofMain.h"
+#include "baseScene.h"
+#include "ofxSvgLoader.h"
+
+
+class zzEatRepeatScene : public baseScene {
+
+public:
+
+ void setup();
+ void update();
+ void draw();
+
+
+ ofxSvgLoader svg;
+
+
+ vector < ofPath > paths;
+
+ ofPoint midPt;
+ ofColor c;
+ ofEasyCam cam;
+
+// ofParameter param;
+};
diff --git a/src/zzScenes/zzNomScene/zzNomScene.cpp b/src/zzScenes/zzNomScene/zzNomScene.cpp
new file mode 100644
index 0000000..f8a6777
--- /dev/null
+++ b/src/zzScenes/zzNomScene/zzNomScene.cpp
@@ -0,0 +1,77 @@
+
+#include "zzNomScene.h"
+
+void zzNomScene::setup(){
+
+// setup pramaters
+// if your original code use an ofxPanel instance dont use it here, instead
+// add your parameters to the "parameters" instance as follows.
+// param was declared in zzNomScene.h
+ //parameters.add(param.set("param", 5, 0, 100));
+
+ setAuthor("Put Your Name Here");
+ setOriginalArtist("Put the original Artist's name here");
+
+ loadCode("zzScenes/zzNomScene/exampleCode.cpp");
+
+
+ svg.load( "zzScenes/zzNomScene/nom.svg" );
+
+ shared_ptr group = svg.get(0);
+ shared_ptr subGroup = group->get(0);
+ vector< shared_ptr > svgPaths = subGroup->getElementsForType< ofxSvgPath>();
+ cout << svgPaths.size() << endl;
+
+ for (int i = 0; i < svgPaths.size(); i++){
+ paths.push_back(svgPaths[i]->path);
+ }
+}
+
+void zzNomScene::update(){
+
+}
+
+void zzNomScene::draw(){
+
+ ofBackground(255, 0, 0);
+ ofPushMatrix();
+ ofScale(0.7, 0.7);
+
+ ofEnableAlphaBlending();
+ for (int h = 0; h < 7; h++) {
+ ofPushMatrix();
+ ofTranslate(0, 20*h);
+
+ for (int i = 0; i < paths.size(); i++) {
+ vector < ofPolyline > lines = paths[i].getOutline();
+ for (int j = 0; j < lines.size(); j++) {
+ lines[j] = lines[j].getResampledBySpacing(3);
+ }
+
+
+ for (int j = 0; j < lines.size(); j++) {
+ for (int k = 0; k < lines[j].size(); k++) {
+ //lines[j][k].x += ofRandom(-20, 20);
+ //lines[j][k].y += ofRandom(-20, 20);
+ float y = lines[j][k].x + lines[j][k].y * 0.1;
+
+
+ lines[j][k].y += ofSignedNoise(y*(0.001) + ofGetElapsedTimef(), h*0.2) * 200; //= mat * lines[i][j];
+ }
+ }
+
+ ofBeginShape();
+ for (int j = 0; j < lines.size(); j++) {
+ if (j != 0) ofNextContour();
+ for (int k = 0; k < lines[j].size(); k++) {
+ ofSetColor(255, 255, 0, ofMap(h, 0, 6, 20, 80));
+ ofVertex(lines[j][k]);
+ }
+ }
+ ofEndShape();
+ }
+ ofPopMatrix();
+
+ }
+ ofPopMatrix();
+}
diff --git a/src/zzScenes/zzNomScene/zzNomScene.h b/src/zzScenes/zzNomScene/zzNomScene.h
new file mode 100644
index 0000000..51496cb
--- /dev/null
+++ b/src/zzScenes/zzNomScene/zzNomScene.h
@@ -0,0 +1,25 @@
+#pragma once
+
+#include "ofMain.h"
+#include "baseScene.h"
+#include "ofxSvgLoader.h"
+
+
+class zzNomScene : public baseScene {
+
+public:
+
+ void setup();
+ void update();
+ void draw();
+
+
+ ofxSvgLoader svg;
+
+ vector < ofPolyline > lines;
+
+ vector < ofPath > paths;
+
+
+// ofParameter param;
+};
diff --git a/src/zzScenes/zzSpreadTheLove/zzSpreadTheLove.cpp b/src/zzScenes/zzSpreadTheLove/zzSpreadTheLove.cpp
new file mode 100644
index 0000000..747909f
--- /dev/null
+++ b/src/zzScenes/zzSpreadTheLove/zzSpreadTheLove.cpp
@@ -0,0 +1,23 @@
+
+#include "zzSpreadTheLove.h"
+
+void zzSpreadTheLove::setup(){
+
+// setup pramaters
+// if your original code use an ofxPanel instance dont use it here, instead
+// add your parameters to the "parameters" instance as follows.
+// param was declared in zzSpreadTheLove.h
+ //parameters.add(param.set("param", 5, 0, 100));
+
+ setAuthor("Put Your Name Here");
+ setOriginalArtist("Put the original Artist's name here");
+
+ loadCode("zzScenes/zzSpreadTheLove/exampleCode.cpp");
+}
+
+void zzSpreadTheLove::update(){
+
+}
+
+void zzSpreadTheLove::draw(){
+}
diff --git a/src/zzScenes/zzSpreadTheLove/zzSpreadTheLove.h b/src/zzScenes/zzSpreadTheLove/zzSpreadTheLove.h
new file mode 100644
index 0000000..085e5f7
--- /dev/null
+++ b/src/zzScenes/zzSpreadTheLove/zzSpreadTheLove.h
@@ -0,0 +1,15 @@
+#pragma once
+
+#include "ofMain.h"
+#include "baseScene.h"
+
+class zzSpreadTheLove : public baseScene {
+
+public:
+
+ void setup();
+ void update();
+ void draw();
+
+// ofParameter param;
+};