Start javaifying
This commit is contained in:
		
							父節點
							
								
									518fccaf4c
								
							
						
					
					
						當前提交
						5f0a62d9bf
					
				
							
								
								
									
										45
									
								
								.idea/compiler.xml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										45
									
								
								.idea/compiler.xml
									
									
									
										generated
									
									
									
								
							| @ -1,6 +1,51 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <project version="4"> | ||||
|   <component name="CompilerConfiguration"> | ||||
|     <excludeFromCompile> | ||||
|       <file url="file://$PROJECT_DIR$/src/circleArrayStim.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/objDensity.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/sketch.properties" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/protoGather.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/lineRotate.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/angleMove.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/heatup.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/angleGather.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/ObjectRecognition.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/colorScreen.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/RotateClass.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/squareCorridor.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/LEDtest.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/Presets.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/identifyEuglena.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/unidirectionStim.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/shrinkingCircle.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/TriangleClass.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/EllipseClass.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/euglena_basic_stimuli.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/protoClear.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/gradientWindow.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/recordTimelapse.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/ShrinkClass.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/TranslateClass.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/translateCircle.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/developer.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/LineClass.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/shrinkingWindow.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/ExpandClass.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/rectangularStim.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/separate.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/testing.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/merge.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/Calibrator.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/window.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/snapshot.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/randomLED.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/proto488flashraster.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/RectangleClass.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/clearDisplay.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/clearScreen.java" /> | ||||
|       <file url="file://$PROJECT_DIR$/src/showCV.java" /> | ||||
|     </excludeFromCompile> | ||||
|     <resourceExtensions /> | ||||
|     <wildcardResourcePatterns> | ||||
|       <entry name="!?*.java" /> | ||||
|  | ||||
							
								
								
									
										7
									
								
								.idea/dictionaries/jan.xml
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								.idea/dictionaries/jan.xml
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @ -0,0 +1,7 @@ | ||||
| <component name="ProjectDictionaryState"> | ||||
|   <dictionary name="jan"> | ||||
|     <words> | ||||
|       <w>arduino</w> | ||||
|     </words> | ||||
|   </dictionary> | ||||
| </component> | ||||
							
								
								
									
										2
									
								
								.idea/libraries/lib.xml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								.idea/libraries/lib.xml
									
									
									
										generated
									
									
									
								
							| @ -16,6 +16,8 @@ | ||||
|       <root url="jar://$PROJECT_DIR$/lib/jogl-all-natives-linux-armv6hf.jar!/" /> | ||||
|       <root url="jar://$PROJECT_DIR$/lib/jogl-all-natives-macosx-universal.jar!/" /> | ||||
|       <root url="jar://$PROJECT_DIR$/lib/gluegen-rt.jar!/" /> | ||||
|       <root url="jar://$PROJECT_DIR$/lib/controlP5.jar!/" /> | ||||
|       <root url="jar://$PROJECT_DIR$/lib/arduino.jar!/" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <SOURCES /> | ||||
|  | ||||
							
								
								
									
										21
									
								
								.idea/libraries/opencv.xml
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								.idea/libraries/opencv.xml
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @ -0,0 +1,21 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="opencv"> | ||||
|     <CLASSES> | ||||
|       <root url="file://$PROJECT_DIR$/lib/opencv_processing/library" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC> | ||||
|       <root url="file://$PROJECT_DIR$/lib/opencv_processing/reference" /> | ||||
|     </JAVADOC> | ||||
|     <NATIVE> | ||||
|       <root url="file://$PROJECT_DIR$/lib/opencv_processing/library/linux64" /> | ||||
|       <root url="file://$PROJECT_DIR$/lib/opencv_processing/library/windows64" /> | ||||
|       <root url="file://$PROJECT_DIR$/lib/opencv_processing/library/windows32" /> | ||||
|     </NATIVE> | ||||
|     <SOURCES> | ||||
|       <root url="file://$PROJECT_DIR$/lib/opencv_processing/src" /> | ||||
|       <root url="file://$PROJECT_DIR$/lib/opencv_processing/library" /> | ||||
|     </SOURCES> | ||||
|     <jarDirectory url="file://$PROJECT_DIR$/lib/opencv_processing/library" recursive="false" /> | ||||
|     <jarDirectory url="file://$PROJECT_DIR$/lib/opencv_processing/library" recursive="false" type="SOURCES" /> | ||||
|   </library> | ||||
| </component> | ||||
							
								
								
									
										21
									
								
								.idea/libraries/serial.xml
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								.idea/libraries/serial.xml
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @ -0,0 +1,21 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="serial"> | ||||
|     <CLASSES> | ||||
|       <root url="file://$PROJECT_DIR$/lib/serial" /> | ||||
|       <root url="file://$PROJECT_DIR$/lib/serial/bin" /> | ||||
|       <root url="file://$PROJECT_DIR$/lib/serial/library" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC /> | ||||
|     <NATIVE> | ||||
|       <root url="file://$PROJECT_DIR$/lib/serial/library/windows64" /> | ||||
|       <root url="file://$PROJECT_DIR$/lib/serial/library/macosx" /> | ||||
|       <root url="file://$PROJECT_DIR$/lib/serial/library/linux64" /> | ||||
|     </NATIVE> | ||||
|     <SOURCES> | ||||
|       <root url="file://$PROJECT_DIR$/lib/serial/src" /> | ||||
|       <root url="file://$PROJECT_DIR$/lib/serial/library" /> | ||||
|     </SOURCES> | ||||
|     <jarDirectory url="file://$PROJECT_DIR$/lib/serial/library" recursive="false" /> | ||||
|     <jarDirectory url="file://$PROJECT_DIR$/lib/serial/library" recursive="false" type="SOURCES" /> | ||||
|   </library> | ||||
| </component> | ||||
							
								
								
									
										18
									
								
								.idea/libraries/video.xml
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								.idea/libraries/video.xml
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @ -0,0 +1,18 @@ | ||||
| <component name="libraryTable"> | ||||
|   <library name="video"> | ||||
|     <CLASSES> | ||||
|       <root url="file://$PROJECT_DIR$/lib/video/library" /> | ||||
|     </CLASSES> | ||||
|     <JAVADOC> | ||||
|       <root url="file://$PROJECT_DIR$/lib/video/reference" /> | ||||
|     </JAVADOC> | ||||
|     <NATIVE> | ||||
|       <root url="file://$PROJECT_DIR$/lib/video/library/windows64" /> | ||||
|       <root url="file://$PROJECT_DIR$/lib/video/library/macosx64" /> | ||||
|     </NATIVE> | ||||
|     <SOURCES> | ||||
|       <root url="file://$PROJECT_DIR$/lib/video/src" /> | ||||
|     </SOURCES> | ||||
|     <jarDirectory url="file://$PROJECT_DIR$/lib/video/library" recursive="false" /> | ||||
|   </library> | ||||
| </component> | ||||
							
								
								
									
										16
									
								
								.idea/misc.xml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										16
									
								
								.idea/misc.xml
									
									
									
										generated
									
									
									
								
							| @ -61,20 +61,4 @@ | ||||
|   <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK"> | ||||
|     <output url="file://$PROJECT_DIR$/out" /> | ||||
|   </component> | ||||
|   <component name="masterDetails"> | ||||
|     <states> | ||||
|       <state key="ProjectJDKs.UI"> | ||||
|         <settings> | ||||
|           <last-edited>1.8</last-edited> | ||||
|           <splitter-proportions> | ||||
|             <option name="proportions"> | ||||
|               <list> | ||||
|                 <option value="0.2" /> | ||||
|               </list> | ||||
|             </option> | ||||
|           </splitter-proportions> | ||||
|         </settings> | ||||
|       </state> | ||||
|     </states> | ||||
|   </component> | ||||
| </project> | ||||
							
								
								
									
										510
									
								
								.idea/workspace.xml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										510
									
								
								.idea/workspace.xml
									
									
									
										generated
									
									
									
								
							| @ -2,9 +2,22 @@ | ||||
| <project version="4"> | ||||
|   <component name="ChangeListManager"> | ||||
|     <list default="true" id="6e752a8c-6cb9-4ef9-9031-0329ce15fcb4" name="Default" comment=""> | ||||
|       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/core.jar" afterPath="$PROJECT_DIR$/lib/core.jar" /> | ||||
|       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/jogl-all.jar" afterPath="$PROJECT_DIR$/lib/jogl-all.jar" /> | ||||
|       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/dictionaries/jan.xml" /> | ||||
|       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/libraries/opencv.xml" /> | ||||
|       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/libraries/serial.xml" /> | ||||
|       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/libraries/video.xml" /> | ||||
|       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/Camera.java" /> | ||||
|       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/EuglenaApplet.java" /> | ||||
|       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/LEDControl.java" /> | ||||
|       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/ProjectorApplet.java" /> | ||||
|       <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/Settings.java" /> | ||||
|       <change type="DELETED" beforePath="$PROJECT_DIR$/src/ExampleApplet.java" afterPath="" /> | ||||
|       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/gluegen-rt-natives-macosx-universal.jar" afterPath="$PROJECT_DIR$/lib/gluegen-rt-natives-macosx-universal.jar" /> | ||||
|       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/compiler.xml" afterPath="$PROJECT_DIR$/.idea/compiler.xml" /> | ||||
|       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/libraries/lib.xml" afterPath="$PROJECT_DIR$/.idea/libraries/lib.xml" /> | ||||
|       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/misc.xml" afterPath="$PROJECT_DIR$/.idea/misc.xml" /> | ||||
|       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" /> | ||||
|       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/processing-intellij.iml" afterPath="$PROJECT_DIR$/processing-intellij.iml" /> | ||||
|     </list> | ||||
|     <ignored path="processing-intellij.iws" /> | ||||
|     <ignored path=".idea/workspace.xml" /> | ||||
| @ -20,17 +33,116 @@ | ||||
|   <component name="CreatePatchCommitExecutor"> | ||||
|     <option name="PATCH_PATH" value="" /> | ||||
|   </component> | ||||
|   <component name="DockManager"> | ||||
|     <window id="1"> | ||||
|       <content type="file-editors"> | ||||
|         <state> | ||||
|           <leaf SIDE_TABS_SIZE_LIMIT_KEY="300"> | ||||
|             <file leaf-file-name="euglena_basic_stimuli.java" pinned="false" current-in-tab="true"> | ||||
|               <entry file="file://$PROJECT_DIR$/src/euglena_basic_stimuli.java"> | ||||
|                 <provider selected="true" editor-type-id="text-editor"> | ||||
|                   <state relative-caret-position="702"> | ||||
|                     <caret line="281" column="32" selection-start-line="281" selection-start-column="32" selection-end-line="281" selection-end-column="32" /> | ||||
|                     <folding> | ||||
|                       <element signature="e#0#16478#0" expanded="true" /> | ||||
|                       <element signature="imports" expanded="true" /> | ||||
|                     </folding> | ||||
|                   </state> | ||||
|                 </provider> | ||||
|               </entry> | ||||
|             </file> | ||||
|           </leaf> | ||||
|         </state> | ||||
|       </content> | ||||
|     </window> | ||||
|   </component> | ||||
|   <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" /> | ||||
|   <component name="FavoritesManager"> | ||||
|     <favorites_list name="processing-intellij" /> | ||||
|   </component> | ||||
|   <component name="FileEditorManager"> | ||||
|     <leaf SIDE_TABS_SIZE_LIMIT_KEY="300"> | ||||
|       <file leaf-file-name="ExampleApplet.java" pinned="false" current-in-tab="true"> | ||||
|         <entry file="file://$PROJECT_DIR$/src/ExampleApplet.java"> | ||||
|       <file leaf-file-name="EuglenaApplet.java" pinned="false" current-in-tab="true"> | ||||
|         <entry file="file://$PROJECT_DIR$/src/EuglenaApplet.java"> | ||||
|           <provider selected="true" editor-type-id="text-editor"> | ||||
|             <state relative-caret-position="75"> | ||||
|               <caret line="7" column="5" selection-start-line="7" selection-start-column="5" selection-end-line="7" selection-end-column="5" /> | ||||
|             <state relative-caret-position="630"> | ||||
|               <caret line="38" column="0" selection-start-line="38" selection-start-column="0" selection-end-line="38" selection-end-column="0" /> | ||||
|               <folding> | ||||
|                 <element signature="e#322#323#0" expanded="true" /> | ||||
|                 <element signature="e#367#368#0" expanded="true" /> | ||||
|                 <element signature="e#411#412#0" expanded="true" /> | ||||
|                 <element signature="e#448#449#0" expanded="true" /> | ||||
|               </folding> | ||||
|             </state> | ||||
|           </provider> | ||||
|         </entry> | ||||
|       </file> | ||||
|       <file leaf-file-name="ProjectorApplet.java" pinned="false" current-in-tab="false"> | ||||
|         <entry file="file://$PROJECT_DIR$/src/ProjectorApplet.java"> | ||||
|           <provider selected="true" editor-type-id="text-editor"> | ||||
|             <state relative-caret-position="432"> | ||||
|               <caret line="24" column="1" selection-start-line="24" selection-start-column="1" selection-end-line="24" selection-end-column="1" /> | ||||
|               <folding> | ||||
|                 <element signature="e#216#217#0" expanded="true" /> | ||||
|                 <element signature="e#275#276#0" expanded="true" /> | ||||
|                 <element signature="e#316#317#0" expanded="true" /> | ||||
|                 <element signature="e#339#340#0" expanded="true" /> | ||||
|               </folding> | ||||
|             </state> | ||||
|           </provider> | ||||
|         </entry> | ||||
|       </file> | ||||
|       <file leaf-file-name="Camera.java" pinned="false" current-in-tab="false"> | ||||
|         <entry file="file://$PROJECT_DIR$/src/Camera.java"> | ||||
|           <provider selected="true" editor-type-id="text-editor"> | ||||
|             <state relative-caret-position="18"> | ||||
|               <caret line="1" column="0" selection-start-line="1" selection-start-column="0" selection-end-line="1" selection-end-column="0" /> | ||||
|               <folding /> | ||||
|             </state> | ||||
|           </provider> | ||||
|         </entry> | ||||
|       </file> | ||||
|       <file leaf-file-name="LEDControl.java" pinned="false" current-in-tab="false"> | ||||
|         <entry file="file://$PROJECT_DIR$/src/LEDControl.java"> | ||||
|           <provider selected="true" editor-type-id="text-editor"> | ||||
|             <state relative-caret-position="54"> | ||||
|               <caret line="3" column="6" selection-start-line="3" selection-start-column="6" selection-end-line="3" selection-end-column="6" /> | ||||
|               <folding> | ||||
|                 <element signature="imports" expanded="true" /> | ||||
|                 <element signature="e#1148#1149#0" expanded="true" /> | ||||
|                 <element signature="e#1192#1193#0" expanded="true" /> | ||||
|               </folding> | ||||
|             </state> | ||||
|           </provider> | ||||
|         </entry> | ||||
|       </file> | ||||
|       <file leaf-file-name="Menu.java" pinned="false" current-in-tab="false"> | ||||
|         <entry file="file://$PROJECT_DIR$/src/Menu.java"> | ||||
|           <provider selected="true" editor-type-id="text-editor"> | ||||
|             <state relative-caret-position="234"> | ||||
|               <caret line="167" column="79" selection-start-line="167" selection-start-column="71" selection-end-line="167" selection-end-column="79" /> | ||||
|               <folding> | ||||
|                 <element signature="imports" expanded="true" /> | ||||
|               </folding> | ||||
|             </state> | ||||
|           </provider> | ||||
|         </entry> | ||||
|       </file> | ||||
|       <file leaf-file-name="Settings.java" pinned="false" current-in-tab="false"> | ||||
|         <entry file="file://$PROJECT_DIR$/src/Settings.java"> | ||||
|           <provider selected="true" editor-type-id="text-editor"> | ||||
|             <state relative-caret-position="54"> | ||||
|               <caret line="3" column="20" selection-start-line="3" selection-start-column="20" selection-end-line="3" selection-end-column="20" /> | ||||
|               <folding /> | ||||
|             </state> | ||||
|           </provider> | ||||
|         </entry> | ||||
|       </file> | ||||
|       <file leaf-file-name="angleGather.java" pinned="false" current-in-tab="false"> | ||||
|         <entry file="file://$PROJECT_DIR$/src/angleGather.java"> | ||||
|           <provider selected="true" editor-type-id="text-editor"> | ||||
|             <state relative-caret-position="216"> | ||||
|               <caret line="12" column="0" selection-start-line="12" selection-start-column="0" selection-end-line="12" selection-end-column="0" /> | ||||
|               <folding /> | ||||
|             </state> | ||||
|           </provider> | ||||
| @ -38,6 +150,13 @@ | ||||
|       </file> | ||||
|     </leaf> | ||||
|   </component> | ||||
|   <component name="FileTemplateManagerImpl"> | ||||
|     <option name="RECENT_TEMPLATES"> | ||||
|       <list> | ||||
|         <option value="Class" /> | ||||
|       </list> | ||||
|     </option> | ||||
|   </component> | ||||
|   <component name="Git.Settings"> | ||||
|     <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" /> | ||||
|   </component> | ||||
| @ -49,16 +168,23 @@ | ||||
|   <component name="IdeDocumentHistory"> | ||||
|     <option name="CHANGED_PATHS"> | ||||
|       <list> | ||||
|         <option value="$PROJECT_DIR$/src/Settings.java" /> | ||||
|         <option value="$PROJECT_DIR$/src/ExampleApplet.java" /> | ||||
|         <option value="$PROJECT_DIR$/src/euglena_basic_stimuli.java" /> | ||||
|         <option value="$PROJECT_DIR$/src/Menu.java" /> | ||||
|         <option value="$PROJECT_DIR$/src/LEDControl.java" /> | ||||
|         <option value="$PROJECT_DIR$/src/Camera.java" /> | ||||
|         <option value="$PROJECT_DIR$/src/Projector.java" /> | ||||
|         <option value="$PROJECT_DIR$/src/EuglenaApplet.java" /> | ||||
|       </list> | ||||
|     </option> | ||||
|   </component> | ||||
|   <component name="ProjectFrameBounds"> | ||||
|     <option name="y" value="23" /> | ||||
|     <option name="width" value="1920" /> | ||||
|     <option name="height" value="1053" /> | ||||
|     <option name="x" value="1920" /> | ||||
|     <option name="width" value="1280" /> | ||||
|     <option name="height" value="1440" /> | ||||
|   </component> | ||||
|   <component name="ProjectLevelVcsManager" settingsEditedManually="false"> | ||||
|   <component name="ProjectLevelVcsManager" settingsEditedManually="true"> | ||||
|     <OptionsSetting value="true" id="Add" /> | ||||
|     <OptionsSetting value="true" id="Remove" /> | ||||
|     <OptionsSetting value="true" id="Checkout" /> | ||||
| @ -84,8 +210,8 @@ | ||||
|     </navigator> | ||||
|     <panes> | ||||
|       <pane id="Scratches" /> | ||||
|       <pane id="PackagesPane" /> | ||||
|       <pane id="Scope" /> | ||||
|       <pane id="PackagesPane" /> | ||||
|       <pane id="ProjectPane"> | ||||
|         <subPane> | ||||
|           <PATH> | ||||
| @ -100,7 +226,7 @@ | ||||
|               <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> | ||||
|             </PATH_ELEMENT> | ||||
|             <PATH_ELEMENT> | ||||
|               <option name="myItemId" value="processing-intellij" /> | ||||
|               <option name="myItemId" value="eug3" /> | ||||
|               <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> | ||||
|             </PATH_ELEMENT> | ||||
|           </PATH> | ||||
| @ -110,7 +236,7 @@ | ||||
|               <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> | ||||
|             </PATH_ELEMENT> | ||||
|             <PATH_ELEMENT> | ||||
|               <option name="myItemId" value="processing-intellij" /> | ||||
|               <option name="myItemId" value="eug3" /> | ||||
|               <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> | ||||
|             </PATH_ELEMENT> | ||||
|             <PATH_ELEMENT> | ||||
| @ -123,9 +249,12 @@ | ||||
|     </panes> | ||||
|   </component> | ||||
|   <component name="PropertiesComponent"> | ||||
|     <property name="last_opened_file_path" value="$PROJECT_DIR$" /> | ||||
|     <property name="settings.editor.selected.configurable" value="preferences.pluginManager" /> | ||||
|     <property name="last_opened_file_path" value="$PROJECT_DIR$/lib/serial/library/linux64" /> | ||||
|     <property name="settings.editor.selected.configurable" value="reference.projectsettings.compiler.excludes" /> | ||||
|     <property name="settings.editor.splitter.proportion" value="0.2" /> | ||||
|     <property name="project.structure.last.edited" value="Libraries" /> | ||||
|     <property name="project.structure.proportion" value="0.15" /> | ||||
|     <property name="project.structure.side.proportion" value="0.2" /> | ||||
|   </component> | ||||
|   <component name="RunManager" selected="Application.ExampleApplet"> | ||||
|     <configuration default="true" type="Applet" factoryName="Applet"> | ||||
| @ -150,24 +279,56 @@ | ||||
|       <envs /> | ||||
|       <method /> | ||||
|     </configuration> | ||||
|     <configuration default="true" type="JUnit" factoryName="JUnit"> | ||||
|       <module name="" /> | ||||
|     <configuration default="true" type="CargoCommandRunConfiguration" factoryName="Cargo Command" show_console_on_std_err="false" show_console_on_std_out="false"> | ||||
|       <option name="additionalArguments" value="" /> | ||||
|       <option name="command" value="run" /> | ||||
|       <option name="environmentVariables"> | ||||
|         <map /> | ||||
|       </option> | ||||
|       <option name="printBacktrace" value="false" /> | ||||
|       <module name="processing-intellij" /> | ||||
|       <method /> | ||||
|     </configuration> | ||||
|     <configuration default="true" type="JarApplication" factoryName="JAR Application"> | ||||
|       <envs /> | ||||
|       <method /> | ||||
|     </configuration> | ||||
|     <configuration default="true" type="Java Scratch" factoryName="Java Scratch"> | ||||
|       <option name="SCRATCH_FILE_ID" value="0" /> | ||||
|       <option name="MAIN_CLASS_NAME" /> | ||||
|       <option name="VM_PARAMETERS" /> | ||||
|       <option name="PROGRAM_PARAMETERS" /> | ||||
|       <option name="WORKING_DIRECTORY" /> | ||||
|       <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> | ||||
|       <option name="ALTERNATIVE_JRE_PATH" /> | ||||
|       <option name="PACKAGE_NAME" /> | ||||
|       <option name="MAIN_CLASS_NAME" /> | ||||
|       <option name="METHOD_NAME" /> | ||||
|       <option name="TEST_OBJECT" value="class" /> | ||||
|       <option name="VM_PARAMETERS" value="-ea" /> | ||||
|       <option name="PARAMETERS" /> | ||||
|       <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" /> | ||||
|       <option name="ENABLE_SWING_INSPECTOR" value="false" /> | ||||
|       <option name="ENV_VARIABLES" /> | ||||
|       <option name="PASS_PARENT_ENVS" value="true" /> | ||||
|       <option name="TEST_SEARCH_SCOPE"> | ||||
|         <value defaultName="singleModule" /> | ||||
|       </option> | ||||
|       <module name="" /> | ||||
|       <envs /> | ||||
|       <method /> | ||||
|     </configuration> | ||||
|     <configuration default="true" type="JetRunConfigurationType" factoryName="Kotlin"> | ||||
|       <option name="MAIN_CLASS_NAME" /> | ||||
|       <option name="VM_PARAMETERS" /> | ||||
|       <option name="PROGRAM_PARAMETERS" /> | ||||
|       <option name="WORKING_DIRECTORY" /> | ||||
|       <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> | ||||
|       <option name="ALTERNATIVE_JRE_PATH" /> | ||||
|       <option name="PASS_PARENT_ENVS" value="true" /> | ||||
|       <module name="processing-intellij" /> | ||||
|       <envs /> | ||||
|       <method /> | ||||
|     </configuration> | ||||
|     <configuration default="true" type="KotlinStandaloneScriptRunConfigurationType" factoryName="Kotlin script"> | ||||
|       <option name="filePath" /> | ||||
|       <option name="vmParameters" /> | ||||
|       <option name="alternativeJrePath" /> | ||||
|       <option name="programParameters" /> | ||||
|       <option name="passParentEnvs" value="true" /> | ||||
|       <option name="workingDirectory" /> | ||||
|       <option name="isAlternativeJrePathEnabled" value="false" /> | ||||
|       <envs /> | ||||
|       <patterns /> | ||||
|       <method /> | ||||
|     </configuration> | ||||
|     <configuration default="true" type="Remote" factoryName="Remote"> | ||||
| @ -179,7 +340,7 @@ | ||||
|       <method /> | ||||
|     </configuration> | ||||
|     <configuration default="false" name="ExampleApplet" type="Application" factoryName="Application"> | ||||
|       <option name="MAIN_CLASS_NAME" value="ExampleApplet" /> | ||||
|       <option name="MAIN_CLASS_NAME" value="EuglenaApplet" /> | ||||
|       <option name="VM_PARAMETERS" value="" /> | ||||
|       <option name="PROGRAM_PARAMETERS" value="" /> | ||||
|       <option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" /> | ||||
| @ -208,28 +369,42 @@ | ||||
|   <component name="ShelveChangesManager" show_recycled="false"> | ||||
|     <option name="remove_strategy" value="false" /> | ||||
|   </component> | ||||
|   <component name="SvnConfiguration"> | ||||
|     <configuration /> | ||||
|   </component> | ||||
|   <component name="TaskManager"> | ||||
|     <task active="true" id="Default" summary="Default task"> | ||||
|       <changelist id="6e752a8c-6cb9-4ef9-9031-0329ce15fcb4" name="Default" comment="" /> | ||||
|       <created>1468081878478</created> | ||||
|       <option name="number" value="Default" /> | ||||
|       <option name="presentableId" value="Default" /> | ||||
|       <updated>1468081878478</updated> | ||||
|     </task> | ||||
|     <servers /> | ||||
|   </component> | ||||
|   <component name="ToolWindowManager"> | ||||
|     <frame x="0" y="23" width="1920" height="1053" extended-state="6" /> | ||||
|     <frame x="1920" y="0" width="1280" height="1440" extended-state="4" /> | ||||
|     <editor active="true" /> | ||||
|     <layout> | ||||
|       <window_info id="Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> | ||||
|       <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.178515" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> | ||||
|       <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" /> | ||||
|       <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32935917" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" /> | ||||
|       <window_info id="Palette	" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> | ||||
|       <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="9" side_tool="true" content_ui="tabs" /> | ||||
|       <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" /> | ||||
|       <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.32786885" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" /> | ||||
|       <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" /> | ||||
|       <window_info id="Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> | ||||
|       <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.18503937" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> | ||||
|       <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32935917" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> | ||||
|       <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.2159031" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> | ||||
|       <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="4" side_tool="true" content_ui="tabs" /> | ||||
|       <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> | ||||
|       <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> | ||||
|       <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" /> | ||||
|       <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> | ||||
|       <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> | ||||
|       <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" /> | ||||
|       <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32882413" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" /> | ||||
|       <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" /> | ||||
|       <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> | ||||
|       <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> | ||||
|       <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> | ||||
|     </layout> | ||||
|   </component> | ||||
|   <component name="Vcs.Log.UiProperties"> | ||||
| @ -248,53 +423,282 @@ | ||||
|     <watches-manager /> | ||||
|   </component> | ||||
|   <component name="editorHistoryManager"> | ||||
|     <entry file="file://$PROJECT_DIR$/src/ExampleApplet.java"> | ||||
|     <entry file="file://$PROJECT_DIR$/src/EuglenaApplet.java"> | ||||
|       <provider selected="true" editor-type-id="text-editor"> | ||||
|         <state relative-caret-position="0"> | ||||
|           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> | ||||
|         <state relative-caret-position="522"> | ||||
|           <caret line="40" column="35" selection-start-line="40" selection-start-column="35" selection-end-line="40" selection-end-column="35" /> | ||||
|           <folding> | ||||
|             <element signature="e#322#323#0" expanded="true" /> | ||||
|             <element signature="e#367#368#0" expanded="true" /> | ||||
|             <element signature="e#411#412#0" expanded="true" /> | ||||
|             <element signature="e#448#449#0" expanded="true" /> | ||||
|           </folding> | ||||
|         </state> | ||||
|       </provider> | ||||
|     </entry> | ||||
|     <entry file="file://$PROJECT_DIR$/src/Settings.java"> | ||||
|       <provider selected="true" editor-type-id="text-editor"> | ||||
|         <state relative-caret-position="90"> | ||||
|           <caret line="5" column="0" selection-start-line="5" selection-start-column="0" selection-end-line="6" selection-end-column="35" /> | ||||
|           <folding /> | ||||
|         </state> | ||||
|       </provider> | ||||
|     </entry> | ||||
|     <entry file="file://$PROJECT_DIR$/src/ExampleApplet.java"> | ||||
|     <entry file="file://$PROJECT_DIR$/src/angleGather.java"> | ||||
|       <provider selected="true" editor-type-id="text-editor"> | ||||
|         <state relative-caret-position="0"> | ||||
|           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> | ||||
|         <state relative-caret-position="216"> | ||||
|           <caret line="12" column="0" selection-start-line="12" selection-start-column="0" selection-end-line="12" selection-end-column="0" /> | ||||
|           <folding /> | ||||
|         </state> | ||||
|       </provider> | ||||
|     </entry> | ||||
|     <entry file="file://$PROJECT_DIR$/src/ExampleApplet.java"> | ||||
|     <entry file="file://$PROJECT_DIR$/src/euglena_basic_stimuli.java"> | ||||
|       <provider selected="true" editor-type-id="text-editor"> | ||||
|         <state relative-caret-position="0"> | ||||
|           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> | ||||
|           <folding> | ||||
|             <element signature="e#0#16478#0" expanded="true" /> | ||||
|             <element signature="imports" expanded="true" /> | ||||
|           </folding> | ||||
|         </state> | ||||
|       </provider> | ||||
|     </entry> | ||||
|     <entry file="file://$PROJECT_DIR$/src/EuglenaApplet.java"> | ||||
|       <provider selected="true" editor-type-id="text-editor"> | ||||
|         <state relative-caret-position="0"> | ||||
|           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> | ||||
|           <folding> | ||||
|             <element signature="e#322#323#0" expanded="true" /> | ||||
|             <element signature="e#367#368#0" expanded="true" /> | ||||
|             <element signature="e#411#412#0" expanded="true" /> | ||||
|             <element signature="e#448#449#0" expanded="true" /> | ||||
|           </folding> | ||||
|         </state> | ||||
|       </provider> | ||||
|     </entry> | ||||
|     <entry file="file://$PROJECT_DIR$/src/EuglenaApplet.java"> | ||||
|       <provider selected="true" editor-type-id="text-editor"> | ||||
|         <state relative-caret-position="0"> | ||||
|           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> | ||||
|           <folding> | ||||
|             <element signature="e#322#323#0" expanded="true" /> | ||||
|             <element signature="e#367#368#0" expanded="true" /> | ||||
|             <element signature="e#411#412#0" expanded="true" /> | ||||
|             <element signature="e#448#449#0" expanded="true" /> | ||||
|           </folding> | ||||
|         </state> | ||||
|       </provider> | ||||
|     </entry> | ||||
|     <entry file="file://$PROJECT_DIR$/src/EuglenaApplet.java"> | ||||
|       <provider selected="true" editor-type-id="text-editor"> | ||||
|         <state relative-caret-position="0"> | ||||
|           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> | ||||
|           <folding> | ||||
|             <element signature="e#322#323#0" expanded="true" /> | ||||
|             <element signature="e#367#368#0" expanded="true" /> | ||||
|             <element signature="e#411#412#0" expanded="true" /> | ||||
|             <element signature="e#448#449#0" expanded="true" /> | ||||
|           </folding> | ||||
|         </state> | ||||
|       </provider> | ||||
|     </entry> | ||||
|     <entry file="file://$PROJECT_DIR$/src/EuglenaApplet.java"> | ||||
|       <provider selected="true" editor-type-id="text-editor"> | ||||
|         <state relative-caret-position="0"> | ||||
|           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> | ||||
|           <folding> | ||||
|             <element signature="e#322#323#0" expanded="true" /> | ||||
|             <element signature="e#367#368#0" expanded="true" /> | ||||
|             <element signature="e#411#412#0" expanded="true" /> | ||||
|             <element signature="e#448#449#0" expanded="true" /> | ||||
|           </folding> | ||||
|         </state> | ||||
|       </provider> | ||||
|     </entry> | ||||
|     <entry file="file://$PROJECT_DIR$/src/EuglenaApplet.java"> | ||||
|       <provider selected="true" editor-type-id="text-editor"> | ||||
|         <state relative-caret-position="0"> | ||||
|           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> | ||||
|           <folding> | ||||
|             <element signature="e#322#323#0" expanded="true" /> | ||||
|             <element signature="e#367#368#0" expanded="true" /> | ||||
|             <element signature="e#411#412#0" expanded="true" /> | ||||
|             <element signature="e#448#449#0" expanded="true" /> | ||||
|           </folding> | ||||
|         </state> | ||||
|       </provider> | ||||
|     </entry> | ||||
|     <entry file="file://$PROJECT_DIR$/src/EuglenaApplet.java"> | ||||
|       <provider selected="true" editor-type-id="text-editor"> | ||||
|         <state relative-caret-position="0"> | ||||
|           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> | ||||
|           <folding> | ||||
|             <element signature="e#322#323#0" expanded="true" /> | ||||
|             <element signature="e#367#368#0" expanded="true" /> | ||||
|             <element signature="e#411#412#0" expanded="true" /> | ||||
|             <element signature="e#448#449#0" expanded="true" /> | ||||
|           </folding> | ||||
|         </state> | ||||
|       </provider> | ||||
|     </entry> | ||||
|     <entry file="file://$PROJECT_DIR$/src/angleGather.java"> | ||||
|       <provider selected="true" editor-type-id="text-editor"> | ||||
|         <state relative-caret-position="216"> | ||||
|           <caret line="12" column="0" selection-start-line="12" selection-start-column="0" selection-end-line="12" selection-end-column="0" /> | ||||
|           <folding /> | ||||
|         </state> | ||||
|       </provider> | ||||
|     </entry> | ||||
|     <entry file="file://$PROJECT_DIR$/src/ExampleApplet.java"> | ||||
|     <entry file="file://$PROJECT_DIR$/src/Settings.java"> | ||||
|       <provider selected="true" editor-type-id="text-editor"> | ||||
|         <state relative-caret-position="0"> | ||||
|           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> | ||||
|         <state relative-caret-position="54"> | ||||
|           <caret line="3" column="20" selection-start-line="3" selection-start-column="20" selection-end-line="3" selection-end-column="20" /> | ||||
|           <folding /> | ||||
|         </state> | ||||
|       </provider> | ||||
|     </entry> | ||||
|     <entry file="file://$PROJECT_DIR$/src/ExampleApplet.java"> | ||||
|     <entry file="file://$PROJECT_DIR$/src/Menu.java"> | ||||
|       <provider selected="true" editor-type-id="text-editor"> | ||||
|         <state relative-caret-position="0"> | ||||
|           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> | ||||
|         <state relative-caret-position="234"> | ||||
|           <caret line="167" column="79" selection-start-line="167" selection-start-column="71" selection-end-line="167" selection-end-column="79" /> | ||||
|           <folding> | ||||
|             <element signature="imports" expanded="true" /> | ||||
|           </folding> | ||||
|         </state> | ||||
|       </provider> | ||||
|     </entry> | ||||
|     <entry file="file://$PROJECT_DIR$/src/Camera.java"> | ||||
|       <provider selected="true" editor-type-id="text-editor"> | ||||
|         <state relative-caret-position="18"> | ||||
|           <caret line="1" column="0" selection-start-line="1" selection-start-column="0" selection-end-line="1" selection-end-column="0" /> | ||||
|           <folding /> | ||||
|         </state> | ||||
|       </provider> | ||||
|     </entry> | ||||
|     <entry file="file://$PROJECT_DIR$/src/ExampleApplet.java"> | ||||
|     <entry file="file://$PROJECT_DIR$/src/LEDControl.java"> | ||||
|       <provider selected="true" editor-type-id="text-editor"> | ||||
|         <state relative-caret-position="75"> | ||||
|           <caret line="7" column="5" selection-start-line="7" selection-start-column="5" selection-end-line="7" selection-end-column="5" /> | ||||
|           <folding /> | ||||
|         <state relative-caret-position="54"> | ||||
|           <caret line="3" column="6" selection-start-line="3" selection-start-column="6" selection-end-line="3" selection-end-column="6" /> | ||||
|           <folding> | ||||
|             <element signature="imports" expanded="true" /> | ||||
|             <element signature="e#1148#1149#0" expanded="true" /> | ||||
|             <element signature="e#1192#1193#0" expanded="true" /> | ||||
|           </folding> | ||||
|         </state> | ||||
|       </provider> | ||||
|     </entry> | ||||
|     <entry file="file://$PROJECT_DIR$/src/ProjectorApplet.java"> | ||||
|       <provider selected="true" editor-type-id="text-editor"> | ||||
|         <state relative-caret-position="432"> | ||||
|           <caret line="24" column="1" selection-start-line="24" selection-start-column="1" selection-end-line="24" selection-end-column="1" /> | ||||
|           <folding> | ||||
|             <element signature="e#216#217#0" expanded="true" /> | ||||
|             <element signature="e#275#276#0" expanded="true" /> | ||||
|             <element signature="e#316#317#0" expanded="true" /> | ||||
|             <element signature="e#339#340#0" expanded="true" /> | ||||
|           </folding> | ||||
|         </state> | ||||
|       </provider> | ||||
|     </entry> | ||||
|     <entry file="file://$PROJECT_DIR$/src/euglena_basic_stimuli.java"> | ||||
|       <provider selected="true" editor-type-id="text-editor"> | ||||
|         <state relative-caret-position="702"> | ||||
|           <caret line="281" column="32" selection-start-line="281" selection-start-column="32" selection-end-line="281" selection-end-column="32" /> | ||||
|           <folding> | ||||
|             <element signature="e#0#16478#0" expanded="true" /> | ||||
|             <element signature="imports" expanded="true" /> | ||||
|           </folding> | ||||
|         </state> | ||||
|       </provider> | ||||
|     </entry> | ||||
|     <entry file="file://$PROJECT_DIR$/src/EuglenaApplet.java"> | ||||
|       <provider selected="true" editor-type-id="text-editor"> | ||||
|         <state relative-caret-position="630"> | ||||
|           <caret line="38" column="0" selection-start-line="38" selection-start-column="0" selection-end-line="38" selection-end-column="0" /> | ||||
|           <folding> | ||||
|             <element signature="e#322#323#0" expanded="true" /> | ||||
|             <element signature="e#367#368#0" expanded="true" /> | ||||
|             <element signature="e#411#412#0" expanded="true" /> | ||||
|             <element signature="e#448#449#0" expanded="true" /> | ||||
|           </folding> | ||||
|         </state> | ||||
|       </provider> | ||||
|     </entry> | ||||
|   </component> | ||||
|   <component name="masterDetails"> | ||||
|     <states> | ||||
|       <state key="ArtifactsStructureConfigurable.UI"> | ||||
|         <settings> | ||||
|           <artifact-editor /> | ||||
|           <splitter-proportions> | ||||
|             <option name="proportions"> | ||||
|               <list> | ||||
|                 <option value="0.2" /> | ||||
|               </list> | ||||
|             </option> | ||||
|           </splitter-proportions> | ||||
|         </settings> | ||||
|       </state> | ||||
|       <state key="GlobalLibrariesConfigurable.UI"> | ||||
|         <settings> | ||||
|           <splitter-proportions> | ||||
|             <option name="proportions"> | ||||
|               <list> | ||||
|                 <option value="0.2" /> | ||||
|               </list> | ||||
|             </option> | ||||
|           </splitter-proportions> | ||||
|         </settings> | ||||
|       </state> | ||||
|       <state key="JdkListConfigurable.UI"> | ||||
|         <settings> | ||||
|           <last-edited>1.8</last-edited> | ||||
|           <splitter-proportions> | ||||
|             <option name="proportions"> | ||||
|               <list> | ||||
|                 <option value="0.2" /> | ||||
|               </list> | ||||
|             </option> | ||||
|           </splitter-proportions> | ||||
|         </settings> | ||||
|       </state> | ||||
|       <state key="ModuleStructureConfigurable.UI"> | ||||
|         <settings> | ||||
|           <last-edited>processing-intellij</last-edited> | ||||
|           <splitter-proportions> | ||||
|             <option name="proportions"> | ||||
|               <list> | ||||
|                 <option value="0.2" /> | ||||
|                 <option value="0.6" /> | ||||
|               </list> | ||||
|             </option> | ||||
|           </splitter-proportions> | ||||
|         </settings> | ||||
|       </state> | ||||
|       <state key="ProjectJDKs.UI"> | ||||
|         <settings> | ||||
|           <last-edited>1.8</last-edited> | ||||
|           <splitter-proportions> | ||||
|             <option name="proportions"> | ||||
|               <list> | ||||
|                 <option value="0.2" /> | ||||
|               </list> | ||||
|             </option> | ||||
|           </splitter-proportions> | ||||
|         </settings> | ||||
|       </state> | ||||
|       <state key="ProjectLibrariesConfigurable.UI"> | ||||
|         <settings> | ||||
|           <last-edited>serial</last-edited> | ||||
|           <splitter-proportions> | ||||
|             <option name="proportions"> | ||||
|               <list> | ||||
|                 <option value="0.2" /> | ||||
|               </list> | ||||
|             </option> | ||||
|           </splitter-proportions> | ||||
|         </settings> | ||||
|       </state> | ||||
|     </states> | ||||
|   </component> | ||||
| </project> | ||||
										
											未顯示二進位檔案。
										
									
								
							| @ -8,5 +8,8 @@ | ||||
|     <orderEntry type="inheritedJdk" /> | ||||
|     <orderEntry type="sourceFolder" forTests="false" /> | ||||
|     <orderEntry type="library" name="lib" level="project" /> | ||||
|     <orderEntry type="library" name="opencv" level="project" /> | ||||
|     <orderEntry type="library" name="video" level="project" /> | ||||
|     <orderEntry type="library" name="serial" level="project" /> | ||||
|   </component> | ||||
| </module> | ||||
							
								
								
									
										30
									
								
								src/Camera.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								src/Camera.java
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,30 @@ | ||||
| import processing.core.*; | ||||
| import processing.video.*; | ||||
| 
 | ||||
| 
 | ||||
| class Camera { | ||||
|     Capture cam; | ||||
| 
 | ||||
|     /* | ||||
|     Set up a camera. | ||||
|      */ | ||||
|     Camera(PApplet applet, int cameraMode) { | ||||
|         String[] cameras = Capture.list(); | ||||
|         if (cameras.length == 0) { | ||||
|             PApplet.println("There are no cameras available for capture."); | ||||
|             applet.exit(); | ||||
|         } else { | ||||
|             PApplet.println("Available cameras:"); | ||||
|             for(int i = 0; i < cameras.length; i++) { | ||||
|                 PApplet.println(i, cameras[i]); | ||||
|             } | ||||
|             PApplet.print("Using camera mode "); | ||||
|             PApplet.println(cameras[cameraMode]); | ||||
|             this.cam = new Capture(applet, cameras[cameraMode]); | ||||
|             this.cam.start(); | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
							
								
								
									
										58
									
								
								src/EuglenaApplet.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										58
									
								
								src/EuglenaApplet.java
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,58 @@ | ||||
| import processing.core.*; | ||||
| 
 | ||||
| public class EuglenaApplet extends PApplet { | ||||
|     final int cameraMode = 77; | ||||
|     final int whichArduino = 0; | ||||
| 
 | ||||
|     // Hardware | ||||
|     ProjectorApplet projectorApplet; | ||||
|     Camera camera; | ||||
|     LEDControl ledControl; | ||||
| 
 | ||||
|     // Software components | ||||
|     Menu menu; | ||||
| 
 | ||||
|     public static void main(String args[]) { | ||||
|         PApplet.main("EuglenaApplet"); | ||||
|     } | ||||
| 
 | ||||
|     @Override | ||||
|     public void settings() { | ||||
|         size(1000, 1000, P2D); | ||||
|     } | ||||
| 
 | ||||
|     @Override | ||||
|     public void setup() { | ||||
|         clear(); | ||||
|         smooth(); | ||||
| 
 | ||||
|         // Start up projectorApplet window | ||||
|         projectorApplet = new ProjectorApplet(); | ||||
|         String[] args = {"Euglena projector"}; | ||||
|         PApplet.runSketch(args, projectorApplet); | ||||
| 
 | ||||
|         camera = new Camera(this, cameraMode); | ||||
|         ledControl = new LEDControl(this, whichArduino); | ||||
| 
 | ||||
|         menu = new Menu(this); | ||||
|     } | ||||
| 
 | ||||
|     @Override | ||||
|     public void draw() { | ||||
|         clear(); | ||||
|         fill(255); | ||||
|         rect(50, 50, 100, 100); | ||||
|     } | ||||
| 
 | ||||
| 
 | ||||
|     void drawArrow(int cx, int cy, int len, float angle){ | ||||
|         pushMatrix(); | ||||
|         translate(cx, cy); | ||||
|         rotate(radians(angle)); | ||||
|         line(0,0,len, 0); | ||||
|         line(len, 0, len - 8, -8); | ||||
|         line(len, 0, len - 8, 8); | ||||
|         popMatrix(); | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| @ -1,29 +0,0 @@ | ||||
| 
 | ||||
| import processing.core.*; | ||||
| 
 | ||||
| public class ExampleApplet extends PApplet { | ||||
| 
 | ||||
|     public static void main(String args[]) { | ||||
|         PApplet.main("ExampleApplet"); | ||||
|     } | ||||
| 
 | ||||
|     @Override | ||||
|     public void settings() { | ||||
|         // TODO: Customize screen size and so on here | ||||
|         size(200, 200); | ||||
|     } | ||||
| 
 | ||||
|     @Override | ||||
|     public void setup() { | ||||
|         // TODO: Your custom drawing and setup on applet start belongs here | ||||
|         clear(); | ||||
|     } | ||||
| 
 | ||||
|     @Override | ||||
|     public void draw() { | ||||
|         // TODO: Do your drawing for each frame here | ||||
|         clear(); | ||||
|         fill(255); | ||||
|         rect(50, 50, 100, 100); | ||||
|     } | ||||
| } | ||||
							
								
								
									
										66
									
								
								src/LEDControl.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										66
									
								
								src/LEDControl.java
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,66 @@ | ||||
| import processing.core.*; | ||||
| import cc.arduino.*; | ||||
| 
 | ||||
| class LEDControl { | ||||
|     final int comRate = 57600; | ||||
| 
 | ||||
|     Arduino arduino; | ||||
|     boolean[] state = {false, false, false, false}; | ||||
| 
 | ||||
|     LEDControl(PApplet applet, int whichArduino) { | ||||
|         // Arduino - initialize correct arduino | ||||
|         String[] arduinos = Arduino.list(); | ||||
|         if (arduinos.length == 0) { | ||||
|             PApplet.println("There are no arduinos available for use."); | ||||
|             applet.exit(); | ||||
|         } else { | ||||
|             PApplet.println("Available arduinos:"); | ||||
|             for(int i = 0; i < arduinos.length; i++) { | ||||
|                 PApplet.println(arduinos[i]); | ||||
|             } | ||||
|             PApplet.print("Using arduino "); | ||||
|             PApplet.println(arduinos[whichArduino]); | ||||
|             this.arduino = new Arduino(applet, arduinos[whichArduino], comRate); | ||||
| 
 | ||||
|             this.arduino.pinMode(Direction.LEFT.pin, Arduino.OUTPUT); | ||||
|             this.arduino.pinMode(Direction.RIGHT.pin, Arduino.OUTPUT); | ||||
|             this.arduino.pinMode(Direction.UP.pin, Arduino.OUTPUT); | ||||
|             this.arduino.pinMode(Direction.DOWN.pin, Arduino.OUTPUT); | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|     boolean isActive(Direction dir) { | ||||
|         return this.state[dir.index]; | ||||
|     } | ||||
| 
 | ||||
|     public void turnOff(Direction dir) { | ||||
|         this.arduino.digitalWrite(dir.pin, Arduino.LOW); | ||||
|         this.state[dir.index] = false; | ||||
|     } | ||||
| 
 | ||||
|     public void turnOn(Direction dir) { | ||||
|         this.arduino.digitalWrite(dir.pin, Arduino.HIGH); | ||||
|         this.state[dir.index] = true; | ||||
|     } | ||||
| 
 | ||||
|     public void toggle(Direction dir) { | ||||
|         if (isActive(dir)) { | ||||
|             turnOff(dir); | ||||
|         } else { | ||||
|             turnOn(dir); | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|     enum Direction { | ||||
|         LEFT  (0, 10), | ||||
|         RIGHT (1, 5), | ||||
|         UP (2, 6), | ||||
|         DOWN (3, 9); | ||||
| 
 | ||||
|         final int index, pin; | ||||
|         Direction(int index, int pin) { | ||||
|             this.index = index; | ||||
|             this.pin = pin; | ||||
|         } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										25
									
								
								src/ProjectorApplet.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								src/ProjectorApplet.java
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,25 @@ | ||||
| import processing.core.PApplet; | ||||
| 
 | ||||
| 
 | ||||
| class ProjectorApplet extends PApplet { | ||||
|     final int projectorScreenNumber = 2; | ||||
| 
 | ||||
|     final static int centerX = 860; | ||||
|     final static int centerY = 540; | ||||
| 
 | ||||
|     public void settings() { | ||||
|         fullScreen(P2D, this.projectorScreenNumber); | ||||
|     } | ||||
| 
 | ||||
|     @Override | ||||
|     public void setup() { | ||||
|         clear(); | ||||
|     } | ||||
| 
 | ||||
|     @Override | ||||
|     public void draw() { | ||||
|         background(50); | ||||
|         fill(255); | ||||
|         ellipse(mouseX, mouseY, 10, 10); | ||||
|     } | ||||
| } | ||||
							
								
								
									
										8
									
								
								src/Settings.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								src/Settings.java
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,8 @@ | ||||
| /** | ||||
|  * | ||||
|  */ | ||||
| public class Settings { | ||||
| 
 | ||||
|     final static int centerX = 860; | ||||
|     final static int centerY = 540; | ||||
| } | ||||
		載入中…
	
	
			
			x
			
			
		
	
		新增問題並參考
	
	Block a user