Skip to content
Browse files

Updates for FOTB.

  • Loading branch information...
1 parent e7bb1a4 commit d9a60349ae7d95a7bc1d98ec59206cb43910dadc @og2t committed
Showing with 8,068 additions and 1,058 deletions.
  1. +17 −0 .project
  2. +20 −0 .settings/com.powerflasher.fdt.classpath
  3. +5 −0 .settings/com.powerflasher.fdt.core.apparat.prefs
  4. +15 −0 .settings/com.powerflasher.fdt.core.prefs
  5. +33 −0 .settings/launch/All Filters.launch
  6. +33 −0 .settings/launch/BRFFaceEstimationDemo.launch
  7. +33 −0 .settings/launch/Blink Detection Demo.launch
  8. +33 −0 .settings/launch/DotsVSHalftoning.launch
  9. +33 −0 .settings/launch/Double Chain.launch
  10. +43 −0 .settings/launch/Eye Tracker Demo.launch
  11. +43 −0 .settings/launch/Face.com recognition.launch
  12. +33 −0 .settings/launch/Halftoning Demo.launch
  13. +33 −0 .settings/launch/Hello Slope.launch
  14. +43 −0 .settings/launch/Point Tracker Demo.launch
  15. +30 −0 .settings/launch/Posterize Outline Demo.launch
  16. +3 −0 .settings/org.eclipse.core.resources.prefs
  17. +0 −246 HiSlope.tmproj
  18. +1 −110 README.markdown
  19. BIN assets/ascii_fontmap_white.png
  20. BIN assets/assets.swc
  21. BIN assets/assets.swf
  22. 0 {src → }/assets/pf_ronda_seven.ttf
  23. 0 {src → }/assets/pf_tempesta_seven_condensed.ttf
  24. BIN assets/sounds/bubble.mp3
  25. BIN assets/sounds/bump.mp3
  26. BIN assets/sounds/maximize.mp3
  27. BIN assets/sounds/minimize.mp3
  28. BIN assets/sounds/subtle.mp3
  29. BIN examples/bin/hello_slope.swf
  30. BIN examples/bin/hello_world.swf
  31. BIN examples/bin/machine_vision_demo.swf
  32. BIN examples/bin/perlin_outline.swf
  33. BIN examples/bin/point_tracker_demo.swf
  34. BIN examples/bin/posterize_outline_demo.swf
  35. BIN examples/bin/static_mirror.swf
  36. BIN examples/bin/static_mirror_demo.swf
  37. BIN examples/bin/ts_machine_vision.swf
  38. BIN examples/fla/BRF_FaceDetection.fla
  39. BIN examples/fla/FaceSquash.cs4.fla
  40. BIN examples/fla/FaceSquash.fla
  41. BIN examples/fla/HelloWorld.cs4.fla
  42. BIN examples/fla/PerlinOutline.cs4.fla
  43. BIN examples/fla/PointTrackerDemo.fla
  44. BIN examples/fla/StaticMirror.cs4.fla
  45. BIN examples/{src → fla}/TSMachineVision.cs4.fla
  46. +192 −0 examples/src/AllFilters.as
  47. +91 −0 examples/src/BRFFaceEstimationDemo.as
  48. +113 −0 examples/src/DoubleChain.as
  49. +131 −0 examples/src/HalftoningDemo.as
  50. +10 −14 examples/src/{HelloWorld.as → HelloSlope.as}
  51. BIN examples/src/HelloWorld.cs4.fla
  52. +12 −19 examples/src/{TSMachineVision.as → MachineVisionDemo.as}
  53. BIN examples/src/PerlinOutline.cs4.fla
  54. +164 −0 examples/src/PointTrackerDemo.as
  55. +22 −31 examples/src/{PerlinOutline.as → PosterizeOutlineDemo.as}
  56. BIN examples/src/StaticMirror.cs4.fla
  57. +18 −23 examples/src/{StaticMirror.as → StaticMirrorDemo.as}
  58. +0 −71 examples/src/build.ant.xml
  59. BIN fla/assets.fla
  60. BIN lib/BeyondRealityFace/BRFAssets.swc
  61. BIN lib/BeyondRealityFace/BRF_POINT_TRACKING_LIBRARY.swc
  62. BIN lib/BeyondRealityFace/TK_BEYOND_REALITY_FACE_LIBRARY.swc
  63. BIN lib/BeyondRealityFace/tk_LISA_OPTICAL_FLOW.swc
  64. BIN lib/apparat/apparat-asm-1.0-RC9.swc
  65. BIN lib/apparat/apparat-ersatz-1.0-RC9.swc
  66. BIN lib/apparat/apparat-lzma-decoder-1.0-RC9.swc
  67. BIN lib/as3-signals-v0.7.swc
  68. BIN lib/greensock.swc
  69. BIN lib/inspirit/ASFEAT.swc
  70. BIN lib/inspirit/Away3DLite.swc
  71. BIN lib/inspirit/Away3D_3.6.0.swc
  72. BIN lib/inspirit/CannyEdgeDetector.swc
  73. +39 −0 src/com/adobe/images/BitString.as
  74. +648 −0 src/com/adobe/images/JPGEncoder.as
  75. +141 −0 src/com/adobe/images/PNGEncoder.as
  76. +85 −0 src/com/adobe/serialization/json/JSON.as
  77. +221 −0 src/com/adobe/serialization/json/JSONDecoder.as
  78. +299 −0 src/com/adobe/serialization/json/JSONEncoder.as
  79. +87 −0 src/com/adobe/serialization/json/JSONParseError.as
  80. +104 −0 src/com/adobe/serialization/json/JSONToken.as
  81. +67 −0 src/com/adobe/serialization/json/JSONTokenType.as
  82. +583 −0 src/com/adobe/serialization/json/JSONTokenizer.as
  83. +473 −0 src/com/bit101/components/ComboBox.as
  84. +7 −6 src/com/bit101/components/Component.as
  85. +135 −0 src/com/bit101/components/HBarSlider.as
  86. +40 −0 src/com/bit101/components/HRangeSlider.as
  87. +258 −0 src/com/bit101/components/HUIBarSlider.as
  88. +13 −0 src/com/bit101/components/InputText.as
  89. +94 −37 src/com/bit101/components/Knob.as
  90. +494 −0 src/com/bit101/components/List.as
  91. +220 −0 src/com/bit101/components/ListItem.as
  92. +309 −0 src/com/bit101/components/NumericStepper.as
  93. +21 −3 src/com/bit101/components/ProgressBar.as
  94. +498 −0 src/com/bit101/components/RangeSlider.as
  95. +625 −0 src/com/bit101/components/ScrollBar.as
  96. +12 −7 src/com/bit101/components/Slider.as
  97. +131 −0 src/com/bit101/components/SmallKnob.as
  98. +58 −7 src/com/bit101/components/Style.as
  99. +4 −3 src/com/bit101/components/UISlider.as
  100. +47 −0 src/com/bit101/components/VScrollBar.as
  101. +157 −0 src/com/marsonstudio/util/UploadPostHelper.as
  102. +952 −0 src/com/quasimondo/geom/ColorMatrix.as
  103. +42 −0 src/com/tastenkunst/as3/brf/container3d/BRFContainer3D.as
  104. +0 −481 src/gs/TweenFilterLite.as
Sorry, we could not display the entire diff because it was too big.
View
17 .project
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>HiSlopeFOTB</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.powerflasher.fdt.core.FlashBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.powerflasher.fdt.core.FlashNature</nature>
+ </natures>
+</projectDescription>
View
20 .settings/com.powerflasher.fdt.classpath
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<AS3Classpath>
+ <AS3Classpath generateProblems="false" sdkBased="true" type="lib" useAsSharedCode="false">frameworks/libs/player/{playerVersion}/playerglobal.swc</AS3Classpath>
+ <AS3Classpath generateProblems="false" sdkBased="true" type="lib" useAsSharedCode="false">frameworks/libs/flex.swc</AS3Classpath>
+ <AS3Classpath generateProblems="true" sdkBased="false" type="source" useAsSharedCode="false">src</AS3Classpath>
+ <AS3Classpath generateProblems="false" sdkBased="false" type="lib" useAsSharedCode="false">lib/as3-signals-v0.7.swc</AS3Classpath>
+ <AS3Classpath generateProblems="false" sdkBased="false" type="lib" useAsSharedCode="false">lib/greensock.swc</AS3Classpath>
+ <AS3Classpath generateProblems="false" sdkBased="false" type="lib" useAsSharedCode="false">lib/BeyondRealityFace/BRFAssets.swc</AS3Classpath>
+ <AS3Classpath generateProblems="false" sdkBased="false" type="lib" useAsSharedCode="false">lib/BeyondRealityFace/TK_BEYOND_REALITY_FACE_LIBRARY.swc</AS3Classpath>
+ <AS3Classpath generateProblems="false" sdkBased="false" type="lib" useAsSharedCode="false">lib/BeyondRealityFace/tk_LISA_OPTICAL_FLOW.swc</AS3Classpath>
+ <AS3Classpath generateProblems="true" sdkBased="false" type="source" useAsSharedCode="false">examples/src</AS3Classpath>
+ <AS3Classpath generateProblems="false" sdkBased="false" type="lib" useAsSharedCode="false">lib/BeyondRealityFace/BRF_POINT_TRACKING_LIBRARY.swc</AS3Classpath>
+ <AS3Classpath generateProblems="false" sdkBased="false" type="lib" useAsSharedCode="false">lib/apparat/apparat-asm-1.0-RC9.swc</AS3Classpath>
+ <AS3Classpath generateProblems="false" sdkBased="false" type="lib" useAsSharedCode="false">lib/apparat/apparat-ersatz-1.0-RC9.swc</AS3Classpath>
+ <AS3Classpath generateProblems="false" sdkBased="false" type="lib" useAsSharedCode="false">lib/apparat/apparat-lzma-decoder-1.0-RC9.swc</AS3Classpath>
+ <AS3Classpath generateProblems="false" sdkBased="false" type="lib" useAsSharedCode="false">lib/inspirit/ASFEAT.swc</AS3Classpath>
+ <AS3Classpath generateProblems="false" sdkBased="false" type="lib" useAsSharedCode="false">lib/inspirit/Away3DLite.swc</AS3Classpath>
+ <AS3Classpath generateProblems="false" sdkBased="false" type="lib" useAsSharedCode="false">lib/inspirit/Away3D_3.6.0.swc</AS3Classpath>
+ <AS3Classpath generateProblems="false" sdkBased="false" type="lib" useAsSharedCode="false">lib/inspirit/CannyEdgeDetector.swc</AS3Classpath>
+</AS3Classpath>
View
5 .settings/com.powerflasher.fdt.core.apparat.prefs
@@ -0,0 +1,5 @@
+#Fri Sep 09 17:34:38 BST 2011
+com.powerflasher.fdt.core.apparat.disabled.launchers=Face Squash,Static Mirror Demo,Point Tracker Demo,BRFFaceEstimationDemo
+com.powerflasher.fdt.core.apparat.features=TDSI |Reducer |Stripper |Dump |
+eclipse.preferences.version=1
+useProjectSettings=true
View
15 .settings/com.powerflasher.fdt.core.prefs
@@ -0,0 +1,15 @@
+#Sun Aug 28 16:31:50 BST 2011
+com.powerflasher.fdt.core.CompatiblePlayers=External_SWF_Viewer\:Browser\:Standalone_Flash_Player
+com.powerflasher.fdt.core.CompilerArguments=-static-link-runtime-shared-libraries\=true\n-target-player\={playerVersion}\n-library-path+\="{flexSDK}/frameworks/locale/en_US"\n-default-size\=550,400
+com.powerflasher.fdt.core.DefaultOutputFolder=bin
+com.powerflasher.fdt.core.DefaultPlayer=External_SWF_Viewer
+com.powerflasher.fdt.core.Language=AS3
+com.powerflasher.fdt.core.PassClasspath=true
+com.powerflasher.fdt.core.PassMainclass=true
+com.powerflasher.fdt.core.PassRsls=false
+com.powerflasher.fdt.core.PassSwcs=true
+com.powerflasher.fdt.core.PlayerVersion=10.1
+com.powerflasher.fdt.core.ProjectTypeHint=AS 3
+com.powerflasher.fdt.core.Runtime=Flash_Player
+com.powerflasher.fdt.core.SdkName=Flex 4.1
+eclipse.preferences.version=1
View
33 .settings/launch/All Filters.launch
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="com.powerflasher.fdt.ui.MxmlcGroup">
+<stringAttribute key="ADL_ARGUMENTS" value=""/>
+<stringAttribute key="ADL_DESCRIPTOR_FILE" value=""/>
+<intAttribute key="AIR_VIEWER_CONF" value="0"/>
+<stringAttribute key="APP_ARGUMENTS" value=""/>
+<stringAttribute key="ARGUMENTS" value="-static-link-runtime-shared-libraries=true&#10;-target-player={playerVersion}&#10;-library-path+=&quot;{flexSDK}/frameworks/locale/en_US&quot;&#10;-strict=true&#10;-optimize=true&#10;-debug=true"/>
+<booleanAttribute key="KILL_PREVIOUS_VIEWER" value="true"/>
+<stringAttribute key="MAIN_CLASS" value="examples/src/AllFilters.as"/>
+<stringAttribute key="MOBILE_PRESET" value=""/>
+<stringAttribute key="OUTPUT" value="examples/bin/all_filters.swf"/>
+<booleanAttribute key="PASS_CP" value="true"/>
+<booleanAttribute key="PASS_EXTERNS" value="false"/>
+<booleanAttribute key="PASS_MAIN_CLASS" value="true"/>
+<booleanAttribute key="PASS_RSLS" value="false"/>
+<booleanAttribute key="PASS_SWCS" value="true"/>
+<intAttribute key="PLAYER_HEIGHT" value="400"/>
+<intAttribute key="PLAYER_WIDTH" value="550"/>
+<stringAttribute key="POST_COMPILE_ANT" value=""/>
+<stringAttribute key="PRE_COMPILE_ANT" value=""/>
+<stringAttribute key="PROJECT_NAME" value="HiSlopeFOTB"/>
+<stringAttribute key="PUBLISHER_ID" value=""/>
+<booleanAttribute key="START_SWF_ENABLED" value="true"/>
+<stringAttribute key="START_SWF_LOCATION" value="examples/bin/all_filters.swf"/>
+<stringAttribute key="START_SWF_WITH" value="Browser"/>
+<booleanAttribute key="USE_PROJECT_COMPILER_ARGUMENTS" value="false"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/HiSlopeFOTB"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="4"/>
+</listAttribute>
+</launchConfiguration>
View
33 .settings/launch/BRFFaceEstimationDemo.launch
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="com.powerflasher.fdt.ui.MxmlcGroup">
+<stringAttribute key="ADL_ARGUMENTS" value=""/>
+<stringAttribute key="ADL_DESCRIPTOR_FILE" value=""/>
+<intAttribute key="AIR_VIEWER_CONF" value="0"/>
+<stringAttribute key="APP_ARGUMENTS" value=""/>
+<stringAttribute key="ARGUMENTS" value="-static-link-runtime-shared-libraries=true&#10;-target-player={playerVersion}&#10;-library-path+=&quot;{flexSDK}/frameworks/locale/en_US&quot;&#10;-strict=true&#10;-optimize=true&#10;-debug=true"/>
+<booleanAttribute key="KILL_PREVIOUS_VIEWER" value="true"/>
+<stringAttribute key="MAIN_CLASS" value="examples/src/BRFFaceEstimationDemo.as"/>
+<stringAttribute key="MOBILE_PRESET" value=""/>
+<stringAttribute key="OUTPUT" value="examples/bin/brf_face_estimation_demo.swf"/>
+<booleanAttribute key="PASS_CP" value="true"/>
+<booleanAttribute key="PASS_EXTERNS" value="false"/>
+<booleanAttribute key="PASS_MAIN_CLASS" value="true"/>
+<booleanAttribute key="PASS_RSLS" value="false"/>
+<booleanAttribute key="PASS_SWCS" value="true"/>
+<intAttribute key="PLAYER_HEIGHT" value="400"/>
+<intAttribute key="PLAYER_WIDTH" value="550"/>
+<stringAttribute key="POST_COMPILE_ANT" value=""/>
+<stringAttribute key="PRE_COMPILE_ANT" value=""/>
+<stringAttribute key="PROJECT_NAME" value="HiSlopeFOTB"/>
+<stringAttribute key="PUBLISHER_ID" value=""/>
+<booleanAttribute key="START_SWF_ENABLED" value="true"/>
+<stringAttribute key="START_SWF_LOCATION" value="examples/bin/brf_face_estimation_demo.swf"/>
+<stringAttribute key="START_SWF_WITH" value="Browser"/>
+<booleanAttribute key="USE_PROJECT_COMPILER_ARGUMENTS" value="false"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/HiSlopeFOTB"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="4"/>
+</listAttribute>
+</launchConfiguration>
View
33 .settings/launch/Blink Detection Demo.launch
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="com.powerflasher.fdt.ui.MxmlcGroup">
+<stringAttribute key="ADL_ARGUMENTS" value=""/>
+<stringAttribute key="ADL_DESCRIPTOR_FILE" value=""/>
+<intAttribute key="AIR_VIEWER_CONF" value="0"/>
+<stringAttribute key="APP_ARGUMENTS" value=""/>
+<stringAttribute key="ARGUMENTS" value="-static-link-runtime-shared-libraries=true&#10;-target-player={playerVersion}&#10;-library-path+=&quot;{flexSDK}/frameworks/locale/en_US&quot;&#10;-strict=true&#10;-optimize=true&#10;-debug=true"/>
+<booleanAttribute key="KILL_PREVIOUS_VIEWER" value="true"/>
+<stringAttribute key="MAIN_CLASS" value="examples/src/BlinkDetectionDemo.as"/>
+<stringAttribute key="MOBILE_PRESET" value=""/>
+<stringAttribute key="OUTPUT" value="examples/bin/blink_detection_demo.swf"/>
+<booleanAttribute key="PASS_CP" value="true"/>
+<booleanAttribute key="PASS_EXTERNS" value="false"/>
+<booleanAttribute key="PASS_MAIN_CLASS" value="true"/>
+<booleanAttribute key="PASS_RSLS" value="false"/>
+<booleanAttribute key="PASS_SWCS" value="true"/>
+<intAttribute key="PLAYER_HEIGHT" value="400"/>
+<intAttribute key="PLAYER_WIDTH" value="550"/>
+<stringAttribute key="POST_COMPILE_ANT" value=""/>
+<stringAttribute key="PRE_COMPILE_ANT" value=""/>
+<stringAttribute key="PROJECT_NAME" value="HiSlopeFOTB"/>
+<stringAttribute key="PUBLISHER_ID" value=""/>
+<booleanAttribute key="START_SWF_ENABLED" value="true"/>
+<stringAttribute key="START_SWF_LOCATION" value="examples/bin/blink_detection_demo.swf"/>
+<stringAttribute key="START_SWF_WITH" value="Browser"/>
+<booleanAttribute key="USE_PROJECT_COMPILER_ARGUMENTS" value="false"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/HiSlopeFOTB"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="4"/>
+</listAttribute>
+</launchConfiguration>
View
33 .settings/launch/DotsVSHalftoning.launch
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="com.powerflasher.fdt.ui.MxmlcGroup">
+<stringAttribute key="ADL_ARGUMENTS" value=""/>
+<stringAttribute key="ADL_DESCRIPTOR_FILE" value=""/>
+<intAttribute key="AIR_VIEWER_CONF" value="0"/>
+<stringAttribute key="APP_ARGUMENTS" value=""/>
+<stringAttribute key="ARGUMENTS" value="-static-link-runtime-shared-libraries=true&#10;-target-player={playerVersion}&#10;-library-path+=&quot;{flexSDK}/frameworks/locale/en_US&quot;&#10;-strict=true&#10;-optimize=true&#10;-debug=true"/>
+<booleanAttribute key="KILL_PREVIOUS_VIEWER" value="true"/>
+<stringAttribute key="MAIN_CLASS" value="examples/src/DotsVSHalftoning.as"/>
+<stringAttribute key="MOBILE_PRESET" value=""/>
+<stringAttribute key="OUTPUT" value="examples/bin/dots_vs_halftoning.swf"/>
+<booleanAttribute key="PASS_CP" value="true"/>
+<booleanAttribute key="PASS_EXTERNS" value="false"/>
+<booleanAttribute key="PASS_MAIN_CLASS" value="true"/>
+<booleanAttribute key="PASS_RSLS" value="false"/>
+<booleanAttribute key="PASS_SWCS" value="true"/>
+<intAttribute key="PLAYER_HEIGHT" value="400"/>
+<intAttribute key="PLAYER_WIDTH" value="550"/>
+<stringAttribute key="POST_COMPILE_ANT" value=""/>
+<stringAttribute key="PRE_COMPILE_ANT" value=""/>
+<stringAttribute key="PROJECT_NAME" value="HiSlopeFOTB"/>
+<stringAttribute key="PUBLISHER_ID" value=""/>
+<booleanAttribute key="START_SWF_ENABLED" value="true"/>
+<stringAttribute key="START_SWF_LOCATION" value="examples/bin/dots_vs_halftoning.swf"/>
+<stringAttribute key="START_SWF_WITH" value="Browser"/>
+<booleanAttribute key="USE_PROJECT_COMPILER_ARGUMENTS" value="false"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/HiSlopeFOTB"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="4"/>
+</listAttribute>
+</launchConfiguration>
View
33 .settings/launch/Double Chain.launch
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="com.powerflasher.fdt.ui.MxmlcGroup">
+<stringAttribute key="ADL_ARGUMENTS" value=""/>
+<stringAttribute key="ADL_DESCRIPTOR_FILE" value=""/>
+<intAttribute key="AIR_VIEWER_CONF" value="0"/>
+<stringAttribute key="APP_ARGUMENTS" value=""/>
+<stringAttribute key="ARGUMENTS" value="-static-link-runtime-shared-libraries=true&#10;-target-player={playerVersion}&#10;-library-path+=&quot;{flexSDK}/frameworks/locale/en_US&quot;&#10;-strict=true&#10;-optimize=true&#10;-debug=true"/>
+<booleanAttribute key="KILL_PREVIOUS_VIEWER" value="true"/>
+<stringAttribute key="MAIN_CLASS" value="examples/src/DoubleChain.as"/>
+<stringAttribute key="MOBILE_PRESET" value=""/>
+<stringAttribute key="OUTPUT" value="examples/bin/double_chain.swf"/>
+<booleanAttribute key="PASS_CP" value="true"/>
+<booleanAttribute key="PASS_EXTERNS" value="false"/>
+<booleanAttribute key="PASS_MAIN_CLASS" value="true"/>
+<booleanAttribute key="PASS_RSLS" value="false"/>
+<booleanAttribute key="PASS_SWCS" value="true"/>
+<intAttribute key="PLAYER_HEIGHT" value="400"/>
+<intAttribute key="PLAYER_WIDTH" value="550"/>
+<stringAttribute key="POST_COMPILE_ANT" value=""/>
+<stringAttribute key="PRE_COMPILE_ANT" value=""/>
+<stringAttribute key="PROJECT_NAME" value="HiSlopeFOTB"/>
+<stringAttribute key="PUBLISHER_ID" value=""/>
+<booleanAttribute key="START_SWF_ENABLED" value="true"/>
+<stringAttribute key="START_SWF_LOCATION" value="examples/bin/double_chain.swf"/>
+<stringAttribute key="START_SWF_WITH" value="Browser"/>
+<booleanAttribute key="USE_PROJECT_COMPILER_ARGUMENTS" value="false"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/HiSlopeFOTB"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="4"/>
+</listAttribute>
+</launchConfiguration>
View
43 .settings/launch/Eye Tracker Demo.launch
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="com.powerflasher.fdt.ui.MxmlcGroup">
+<stringAttribute key="ADL_ARGUMENTS" value=""/>
+<stringAttribute key="ADL_DESCRIPTOR_FILE" value=""/>
+<intAttribute key="AIR_VIEWER_CONF" value="0"/>
+<stringAttribute key="APP_ARGUMENTS" value=""/>
+<stringAttribute key="ARGUMENTS" value="-static-link-runtime-shared-libraries=true&#10;-target-player={playerVersion}&#10;-library-path+=&quot;{flexSDK}/frameworks/locale/en_US&quot;&#10;-strict=true&#10;-optimize=true&#10;-debug=true"/>
+<stringAttribute key="EXCLUDED_PACKAGES_LIST" value=""/>
+<booleanAttribute key="FILTER_INTERNAL_PACKAGES" value="true"/>
+<stringAttribute key="INCLUDED_PACKAGES_LIST" value=""/>
+<booleanAttribute key="KILL_PREVIOUS_VIEWER" value="true"/>
+<stringAttribute key="MAIN_CLASS" value="examples/src/EyeTrackerDemo.as"/>
+<booleanAttribute key="MEMORY_PROFILING" value="true"/>
+<booleanAttribute key="MEMORY_PROFILING_STACKDATA" value="true"/>
+<stringAttribute key="MOBILE_PRESET" value=""/>
+<stringAttribute key="OUTPUT" value="examples/bin/eye_tracker_demo.swf"/>
+<booleanAttribute key="PASS_CP" value="true"/>
+<booleanAttribute key="PASS_EXTERNS" value="false"/>
+<booleanAttribute key="PASS_MAIN_CLASS" value="true"/>
+<booleanAttribute key="PASS_RSLS" value="false"/>
+<booleanAttribute key="PASS_SWCS" value="true"/>
+<booleanAttribute key="PERFORMANCE_PROFILING" value="false"/>
+<booleanAttribute key="PERFORMANCE_PROFILING_CLEAR_DATA" value="false"/>
+<intAttribute key="PERFORMANCE_PROFILING_CLEAR_DATA_TIME" value="3"/>
+<intAttribute key="PLAYER_HEIGHT" value="400"/>
+<intAttribute key="PLAYER_WIDTH" value="550"/>
+<stringAttribute key="POST_COMPILE_ANT" value=""/>
+<stringAttribute key="PRE_COMPILE_ANT" value=""/>
+<booleanAttribute key="PROFILER_FILTER_INTERNAL_ACTIONS" value="false"/>
+<booleanAttribute key="PROFILER_FILTER_NATIVES" value="false"/>
+<stringAttribute key="PROJECT_NAME" value="HiSlopeFOTB"/>
+<stringAttribute key="PUBLISHER_ID" value=""/>
+<booleanAttribute key="START_SWF_ENABLED" value="true"/>
+<stringAttribute key="START_SWF_LOCATION" value="examples/bin/eye_tracker_demo.swf"/>
+<stringAttribute key="START_SWF_WITH" value="Browser"/>
+<booleanAttribute key="USE_PROJECT_COMPILER_ARGUMENTS" value="false"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/HiSlopeFOTB"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="4"/>
+</listAttribute>
+</launchConfiguration>
View
43 .settings/launch/Face.com recognition.launch
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="com.powerflasher.fdt.ui.MxmlcGroup">
+<stringAttribute key="ADL_ARGUMENTS" value=""/>
+<stringAttribute key="ADL_DESCRIPTOR_FILE" value=""/>
+<intAttribute key="AIR_VIEWER_CONF" value="0"/>
+<stringAttribute key="APP_ARGUMENTS" value=""/>
+<stringAttribute key="ARGUMENTS" value="-static-link-runtime-shared-libraries=true&#10;-target-player={playerVersion}&#10;-library-path+=&quot;{flexSDK}/frameworks/locale/en_US&quot;&#10;-strict=true&#10;-optimize=true&#10;-debug=true"/>
+<stringAttribute key="EXCLUDED_PACKAGES_LIST" value=""/>
+<booleanAttribute key="FILTER_INTERNAL_PACKAGES" value="true"/>
+<stringAttribute key="INCLUDED_PACKAGES_LIST" value=""/>
+<booleanAttribute key="KILL_PREVIOUS_VIEWER" value="true"/>
+<stringAttribute key="MAIN_CLASS" value="examples/src/FaceComRecognitionDemo.as"/>
+<booleanAttribute key="MEMORY_PROFILING" value="true"/>
+<booleanAttribute key="MEMORY_PROFILING_STACKDATA" value="true"/>
+<stringAttribute key="MOBILE_PRESET" value=""/>
+<stringAttribute key="OUTPUT" value="examples/bin/face.com_recognition_demo.swf"/>
+<booleanAttribute key="PASS_CP" value="true"/>
+<booleanAttribute key="PASS_EXTERNS" value="false"/>
+<booleanAttribute key="PASS_MAIN_CLASS" value="true"/>
+<booleanAttribute key="PASS_RSLS" value="false"/>
+<booleanAttribute key="PASS_SWCS" value="true"/>
+<booleanAttribute key="PERFORMANCE_PROFILING" value="false"/>
+<booleanAttribute key="PERFORMANCE_PROFILING_CLEAR_DATA" value="false"/>
+<intAttribute key="PERFORMANCE_PROFILING_CLEAR_DATA_TIME" value="3"/>
+<intAttribute key="PLAYER_HEIGHT" value="400"/>
+<intAttribute key="PLAYER_WIDTH" value="550"/>
+<stringAttribute key="POST_COMPILE_ANT" value=""/>
+<stringAttribute key="PRE_COMPILE_ANT" value=""/>
+<booleanAttribute key="PROFILER_FILTER_INTERNAL_ACTIONS" value="false"/>
+<booleanAttribute key="PROFILER_FILTER_NATIVES" value="false"/>
+<stringAttribute key="PROJECT_NAME" value="HiSlopeFOTB"/>
+<stringAttribute key="PUBLISHER_ID" value=""/>
+<booleanAttribute key="START_SWF_ENABLED" value="true"/>
+<stringAttribute key="START_SWF_LOCATION" value="examples/bin/face.com_recognition_demo.swf"/>
+<stringAttribute key="START_SWF_WITH" value="Browser"/>
+<booleanAttribute key="USE_PROJECT_COMPILER_ARGUMENTS" value="false"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/HiSlopeFOTB"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="4"/>
+</listAttribute>
+</launchConfiguration>
View
33 .settings/launch/Halftoning Demo.launch
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="com.powerflasher.fdt.ui.MxmlcGroup">
+<stringAttribute key="ADL_ARGUMENTS" value=""/>
+<stringAttribute key="ADL_DESCRIPTOR_FILE" value=""/>
+<intAttribute key="AIR_VIEWER_CONF" value="0"/>
+<stringAttribute key="APP_ARGUMENTS" value=""/>
+<stringAttribute key="ARGUMENTS" value="-static-link-runtime-shared-libraries=true&#10;-target-player={playerVersion}&#10;-library-path+=&quot;{flexSDK}/frameworks/locale/en_US&quot;&#10;-strict=true&#10;-optimize=true&#10;-debug=true"/>
+<booleanAttribute key="KILL_PREVIOUS_VIEWER" value="true"/>
+<stringAttribute key="MAIN_CLASS" value="examples/src/HalftoningDemo.as"/>
+<stringAttribute key="MOBILE_PRESET" value=""/>
+<stringAttribute key="OUTPUT" value="examples/bin/halftoning_demo.swf"/>
+<booleanAttribute key="PASS_CP" value="true"/>
+<booleanAttribute key="PASS_EXTERNS" value="false"/>
+<booleanAttribute key="PASS_MAIN_CLASS" value="true"/>
+<booleanAttribute key="PASS_RSLS" value="false"/>
+<booleanAttribute key="PASS_SWCS" value="true"/>
+<intAttribute key="PLAYER_HEIGHT" value="400"/>
+<intAttribute key="PLAYER_WIDTH" value="550"/>
+<stringAttribute key="POST_COMPILE_ANT" value=""/>
+<stringAttribute key="PRE_COMPILE_ANT" value=""/>
+<stringAttribute key="PROJECT_NAME" value="HiSlopeFOTB"/>
+<stringAttribute key="PUBLISHER_ID" value=""/>
+<booleanAttribute key="START_SWF_ENABLED" value="true"/>
+<stringAttribute key="START_SWF_LOCATION" value="examples/bin/halftoning_demo.swf"/>
+<stringAttribute key="START_SWF_WITH" value="Browser"/>
+<booleanAttribute key="USE_PROJECT_COMPILER_ARGUMENTS" value="false"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/HiSlopeFOTB"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="4"/>
+</listAttribute>
+</launchConfiguration>
View
33 .settings/launch/Hello Slope.launch
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="com.powerflasher.fdt.ui.MxmlcGroup">
+<stringAttribute key="ADL_ARGUMENTS" value=""/>
+<stringAttribute key="ADL_DESCRIPTOR_FILE" value=""/>
+<intAttribute key="AIR_VIEWER_CONF" value="0"/>
+<stringAttribute key="APP_ARGUMENTS" value=""/>
+<stringAttribute key="ARGUMENTS" value="-static-link-runtime-shared-libraries=true&#10;-target-player={playerVersion}&#10;-library-path+=&quot;{flexSDK}/frameworks/locale/en_US&quot;&#10;-strict=true&#10;-optimize=true&#10;-debug=true"/>
+<booleanAttribute key="KILL_PREVIOUS_VIEWER" value="true"/>
+<stringAttribute key="MAIN_CLASS" value="examples/src/HelloSlope.as"/>
+<stringAttribute key="MOBILE_PRESET" value=""/>
+<stringAttribute key="OUTPUT" value="examples/bin/hello_slope.swf"/>
+<booleanAttribute key="PASS_CP" value="true"/>
+<booleanAttribute key="PASS_EXTERNS" value="false"/>
+<booleanAttribute key="PASS_MAIN_CLASS" value="true"/>
+<booleanAttribute key="PASS_RSLS" value="false"/>
+<booleanAttribute key="PASS_SWCS" value="true"/>
+<intAttribute key="PLAYER_HEIGHT" value="400"/>
+<intAttribute key="PLAYER_WIDTH" value="550"/>
+<stringAttribute key="POST_COMPILE_ANT" value=""/>
+<stringAttribute key="PRE_COMPILE_ANT" value=""/>
+<stringAttribute key="PROJECT_NAME" value="HiSlopeFOTB"/>
+<stringAttribute key="PUBLISHER_ID" value=""/>
+<booleanAttribute key="START_SWF_ENABLED" value="true"/>
+<stringAttribute key="START_SWF_LOCATION" value="examples/bin/hello_slope.swf"/>
+<stringAttribute key="START_SWF_WITH" value="Browser"/>
+<booleanAttribute key="USE_PROJECT_COMPILER_ARGUMENTS" value="false"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/HiSlopeFOTB"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="4"/>
+</listAttribute>
+</launchConfiguration>
View
43 .settings/launch/Point Tracker Demo.launch
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="com.powerflasher.fdt.ui.MxmlcGroup">
+<stringAttribute key="ADL_ARGUMENTS" value=""/>
+<stringAttribute key="ADL_DESCRIPTOR_FILE" value=""/>
+<intAttribute key="AIR_VIEWER_CONF" value="0"/>
+<stringAttribute key="APP_ARGUMENTS" value=""/>
+<stringAttribute key="ARGUMENTS" value="-static-link-runtime-shared-libraries=true&#10;-target-player={playerVersion}&#10;-library-path+=&quot;{flexSDK}/frameworks/locale/en_US&quot;&#10;-strict=true&#10;-optimize=true&#10;-debug=true"/>
+<stringAttribute key="EXCLUDED_PACKAGES_LIST" value=""/>
+<booleanAttribute key="FILTER_INTERNAL_PACKAGES" value="true"/>
+<stringAttribute key="INCLUDED_PACKAGES_LIST" value=""/>
+<booleanAttribute key="KILL_PREVIOUS_VIEWER" value="true"/>
+<stringAttribute key="MAIN_CLASS" value="examples/src/PointTrackerDemo.as"/>
+<booleanAttribute key="MEMORY_PROFILING" value="true"/>
+<booleanAttribute key="MEMORY_PROFILING_STACKDATA" value="true"/>
+<stringAttribute key="MOBILE_PRESET" value=""/>
+<stringAttribute key="OUTPUT" value="examples/bin/point_tracker_demo.swf"/>
+<booleanAttribute key="PASS_CP" value="true"/>
+<booleanAttribute key="PASS_EXTERNS" value="false"/>
+<booleanAttribute key="PASS_MAIN_CLASS" value="true"/>
+<booleanAttribute key="PASS_RSLS" value="false"/>
+<booleanAttribute key="PASS_SWCS" value="true"/>
+<booleanAttribute key="PERFORMANCE_PROFILING" value="false"/>
+<booleanAttribute key="PERFORMANCE_PROFILING_CLEAR_DATA" value="false"/>
+<intAttribute key="PERFORMANCE_PROFILING_CLEAR_DATA_TIME" value="3"/>
+<intAttribute key="PLAYER_HEIGHT" value="400"/>
+<intAttribute key="PLAYER_WIDTH" value="550"/>
+<stringAttribute key="POST_COMPILE_ANT" value=""/>
+<stringAttribute key="PRE_COMPILE_ANT" value=""/>
+<booleanAttribute key="PROFILER_FILTER_INTERNAL_ACTIONS" value="false"/>
+<booleanAttribute key="PROFILER_FILTER_NATIVES" value="false"/>
+<stringAttribute key="PROJECT_NAME" value="HiSlopeFOTB"/>
+<stringAttribute key="PUBLISHER_ID" value=""/>
+<booleanAttribute key="START_SWF_ENABLED" value="true"/>
+<stringAttribute key="START_SWF_LOCATION" value="examples/bin/point_tracker_demo.swf"/>
+<stringAttribute key="START_SWF_WITH" value="Browser"/>
+<booleanAttribute key="USE_PROJECT_COMPILER_ARGUMENTS" value="false"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/HiSlopeFOTB"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="4"/>
+</listAttribute>
+</launchConfiguration>
View
30 .settings/launch/Posterize Outline Demo.launch
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="com.powerflasher.fdt.ui.MxmlcGroup">
+<stringAttribute key="ADL_ARGUMENTS" value=""/>
+<stringAttribute key="APP_ARGUMENTS" value=""/>
+<stringAttribute key="ARGUMENTS" value="-static-link-runtime-shared-libraries=true&#10;-target-player={playerVersion}&#10;-library-path+=&quot;{flexSDK}/frameworks/locale/en_US&quot;&#10;-strict=true&#10;-optimize=true&#10;-debug=true"/>
+<booleanAttribute key="KILL_PREVIOUS_VIEWER" value="true"/>
+<stringAttribute key="LAUNCHER_DEPENDENCIES" value="[Self]"/>
+<stringAttribute key="MAIN_CLASS" value="examples/src/PosterizeOutlineDemo.as"/>
+<stringAttribute key="OUTPUT" value="examples/bin/posterize_outline_demo.swf"/>
+<booleanAttribute key="PASS_CP" value="true"/>
+<booleanAttribute key="PASS_EXTERNS" value="false"/>
+<booleanAttribute key="PASS_MAIN_CLASS" value="true"/>
+<booleanAttribute key="PASS_RSLS" value="false"/>
+<booleanAttribute key="PASS_SWCS" value="true"/>
+<intAttribute key="PLAYER_HEIGHT" value="400"/>
+<intAttribute key="PLAYER_WIDTH" value="550"/>
+<stringAttribute key="POST_COMPILE_ANT" value=""/>
+<stringAttribute key="PRE_COMPILE_ANT" value=""/>
+<stringAttribute key="PROJECT_NAME" value="HiSlopeFOTB"/>
+<booleanAttribute key="START_SWF_ENABLED" value="true"/>
+<stringAttribute key="START_SWF_LOCATION" value="examples/bin/posterize_outline_demo.swf"/>
+<stringAttribute key="START_SWF_WITH" value="Browser"/>
+<booleanAttribute key="USE_PROJECT_COMPILER_ARGUMENTS" value="false"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/HiSlopeFOTB"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="4"/>
+</listAttribute>
+</launchConfiguration>
View
3 .settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Sun Aug 28 14:34:08 BST 2011
+eclipse.preferences.version=1
+encoding/<project>=UTF-8
View
246 HiSlope.tmproj
@@ -1,246 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>currentDocument</key>
- <string>README.markdown</string>
- <key>documents</key>
- <array>
- <dict>
- <key>expanded</key>
- <true/>
- <key>name</key>
- <string>HiSlope</string>
- <key>regexFolderFilter</key>
- <string>!.*/(\.[^/]*|CVS|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$</string>
- <key>selected</key>
- <true/>
- <key>sourceDirectory</key>
- <string></string>
- </dict>
- </array>
- <key>fileHierarchyDrawerWidth</key>
- <integer>381</integer>
- <key>metaData</key>
- <dict>
- <key>README.markdown</key>
- <dict>
- <key>caret</key>
- <dict>
- <key>column</key>
- <integer>2</integer>
- <key>line</key>
- <integer>19</integer>
- </dict>
- <key>firstVisibleColumn</key>
- <integer>0</integer>
- <key>firstVisibleLine</key>
- <integer>0</integer>
- </dict>
- <key>src/com/bit101/components/CheckBox.as</key>
- <dict>
- <key>caret</key>
- <dict>
- <key>column</key>
- <integer>10</integer>
- <key>line</key>
- <integer>182</integer>
- </dict>
- <key>firstVisibleColumn</key>
- <integer>0</integer>
- <key>firstVisibleLine</key>
- <integer>131</integer>
- </dict>
- <key>src/com/bit101/components/Label.as</key>
- <dict>
- <key>caret</key>
- <dict>
- <key>column</key>
- <integer>3</integer>
- <key>line</key>
- <integer>52</integer>
- </dict>
- <key>firstVisibleColumn</key>
- <integer>0</integer>
- <key>firstVisibleLine</key>
- <integer>48</integer>
- </dict>
- <key>src/com/bit101/components/Slider.as</key>
- <dict>
- <key>caret</key>
- <dict>
- <key>column</key>
- <integer>26</integer>
- <key>line</key>
- <integer>297</integer>
- </dict>
- <key>columnSelection</key>
- <false/>
- <key>firstVisibleColumn</key>
- <integer>0</integer>
- <key>firstVisibleLine</key>
- <integer>275</integer>
- <key>selectFrom</key>
- <dict>
- <key>column</key>
- <integer>22</integer>
- <key>line</key>
- <integer>297</integer>
- </dict>
- <key>selectTo</key>
- <dict>
- <key>column</key>
- <integer>31</integer>
- <key>line</key>
- <integer>297</integer>
- </dict>
- </dict>
- <key>src/com/bit101/components/VBox.as</key>
- <dict>
- <key>caret</key>
- <dict>
- <key>column</key>
- <integer>4</integer>
- <key>line</key>
- <integer>83</integer>
- </dict>
- <key>firstVisibleColumn</key>
- <integer>0</integer>
- <key>firstVisibleLine</key>
- <integer>62</integer>
- </dict>
- <key>src/hislope/core/Utils.as</key>
- <dict>
- <key>caret</key>
- <dict>
- <key>column</key>
- <integer>1</integer>
- <key>line</key>
- <integer>15</integer>
- </dict>
- <key>firstVisibleColumn</key>
- <integer>0</integer>
- <key>firstVisibleLine</key>
- <integer>0</integer>
- </dict>
- <key>src/hislope/events/HiSlopeEvent.as</key>
- <dict>
- <key>caret</key>
- <dict>
- <key>column</key>
- <integer>83</integer>
- <key>line</key>
- <integer>14</integer>
- </dict>
- <key>firstVisibleColumn</key>
- <integer>0</integer>
- <key>firstVisibleLine</key>
- <integer>0</integer>
- </dict>
- <key>src/hislope/filters/IFilter.as</key>
- <dict>
- <key>caret</key>
- <dict>
- <key>column</key>
- <integer>31</integer>
- <key>line</key>
- <integer>6</integer>
- </dict>
- <key>firstVisibleColumn</key>
- <integer>0</integer>
- <key>firstVisibleLine</key>
- <integer>0</integer>
- </dict>
- <key>src/hislope/filters/basic/Blur.as</key>
- <dict>
- <key>caret</key>
- <dict>
- <key>column</key>
- <integer>83</integer>
- <key>line</key>
- <integer>14</integer>
- </dict>
- <key>firstVisibleColumn</key>
- <integer>0</integer>
- <key>firstVisibleLine</key>
- <integer>0</integer>
- </dict>
- <key>src/hislope/gui/Histogram.as</key>
- <dict>
- <key>caret</key>
- <dict>
- <key>column</key>
- <integer>0</integer>
- <key>line</key>
- <integer>16</integer>
- </dict>
- <key>firstVisibleColumn</key>
- <integer>0</integer>
- <key>firstVisibleLine</key>
- <integer>0</integer>
- </dict>
- <key>src/net/blog2t/math/Range.as</key>
- <dict>
- <key>caret</key>
- <dict>
- <key>column</key>
- <integer>0</integer>
- <key>line</key>
- <integer>4</integer>
- </dict>
- <key>firstVisibleColumn</key>
- <integer>0</integer>
- <key>firstVisibleLine</key>
- <integer>118</integer>
- </dict>
- <key>src/net/hires/util/Stats.as</key>
- <dict>
- <key>caret</key>
- <dict>
- <key>column</key>
- <integer>14</integer>
- <key>line</key>
- <integer>27</integer>
- </dict>
- <key>firstVisibleColumn</key>
- <integer>0</integer>
- <key>firstVisibleLine</key>
- <integer>14</integer>
- </dict>
- <key>templates/FilterTemplate.as</key>
- <dict>
- <key>caret</key>
- <dict>
- <key>column</key>
- <integer>83</integer>
- <key>line</key>
- <integer>14</integer>
- </dict>
- <key>firstVisibleColumn</key>
- <integer>0</integer>
- <key>firstVisibleLine</key>
- <integer>0</integer>
- </dict>
- </dict>
- <key>openDocuments</key>
- <array>
- <string>README.markdown</string>
- </array>
- <key>showFileHierarchyDrawer</key>
- <false/>
- <key>showFileHierarchyPanel</key>
- <true/>
- <key>treeState</key>
- <dict>
- <key>HiSlope</key>
- <dict>
- <key>isExpanded</key>
- <true/>
- <key>subItems</key>
- <dict/>
- </dict>
- </dict>
- <key>windowFrame</key>
- <string>{{39, 62}, {1401, 816}}</string>
-</dict>
-</plist>
View
111 README.markdown
@@ -1,112 +1,3 @@
#HiSlope
-Check out the project page [http://play.blog2t.net/HiSlope](http://play.blog2t.net/HiSlope) for updates.
-
-##Hello world
-
- import hislope.core.FilterChain;
- import hislope.display.MetaBitmapData;
- import hislope.filters.inputs.WebCam;
- import hislope.gui.Output;
-
- var filterChain:FilterChain = new FilterChain("hello world");
- addChild(filterChain);
-
- var processedBmpData:MetaBitmapData = new MetaBitmapData();
-
- var output:Output = new Output(processedBmpData, "output");
- addChild(output);
- output.x = 350;
-
- var input:WebCam = new WebCam();
- input.addEventListener(HiSlopeEvent.INPUT_READY, render);
-
- filterChain.addFilter(input, true, false, false);
- filterChain.addFilter(new Blur(), true);
-
- function render(event:Event):void
- {
- filterChain.process(processedBmpData);
- }
-
-##Filter template
-
- package
- {
- // IMPORTS ////////////////////////////////////////////////////////////////////////////////
-
- import hislope.display.MetaBitmapData;
- import hislope.filters.FilterBase;
-
- // CLASS //////////////////////////////////////////////////////////////////////////////////
-
- public class FilterName extends FilterBase
- {
- // CONSTANTS //////////////////////////////////////////////////////////////////////////
-
- private static const NAME:String = "Filter Name";
- private static const PARAMETERS:Array = [
- {
- name: "param1",
- label: "param 1",
- current: 0.1,
- min: 0,
- max: 1,
- type: "number"
- }, {
- name: "param2",
- label: "param 2",
- current: 1,
- min: 0,
- max: 255,
- type: "int"
- }
- ];
-
- private static const DEBUG_VARS:Array = [
- "time",
- "frames"
- ];
-
- // MEMBERS ////////////////////////////////////////////////////////////////////////////
-
- public var time:Number;
- public var frames:Number;
-
- // PARAMETERS /////////////////////////////////////////////////////////////////////////
-
- public var param1:Number;
- public var param2:int;
-
- // CONSTRUCTOR ////////////////////////////////////////////////////////////////////////
-
- public function FilterName(OVERRIDEN:Object = null)
- {
- // init your bitmaps, variables, etc. here
-
- time = 0;
- frames = 0;
-
- init(NAME, PARAMETERS, OVERRIDEN, DEBUG_VARS);
- }
-
- // PUBLIC METHODS /////////////////////////////////////////////////////////////////////
-
- override public function process(metaBmpData:MetaBitmapData):void
- {
- // do operations
-
- time += param1;
- frames += param2;
-
- getPreviewFor(metaBmpData);
- }
-
- override public function updateParams():void
- {
- // update parameters if changed
- }
-
- // PRIVATE METHODS ////////////////////////////////////////////////////////////////////
- }
- }
+To get started check out the [HiSlope WIKI page](https://github.com/og2t/HiSlope/wiki)
View
BIN assets/ascii_fontmap_white.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN assets/assets.swc
Binary file not shown.
View
BIN assets/assets.swf
Binary file not shown.
View
0 src/assets/pf_ronda_seven.ttf → assets/pf_ronda_seven.ttf
File renamed without changes.
View
0 src/assets/pf_tempesta_seven_condensed.ttf → assets/pf_tempesta_seven_condensed.ttf
File renamed without changes.
View
BIN assets/sounds/bubble.mp3
Binary file not shown.
View
BIN assets/sounds/bump.mp3
Binary file not shown.
View
BIN assets/sounds/maximize.mp3
Binary file not shown.
View
BIN assets/sounds/minimize.mp3
Binary file not shown.
View
BIN assets/sounds/subtle.mp3
Binary file not shown.
View
BIN examples/bin/hello_slope.swf
Binary file not shown.
View
BIN examples/bin/hello_world.swf
Binary file not shown.
View
BIN examples/bin/machine_vision_demo.swf
Binary file not shown.
View
BIN examples/bin/perlin_outline.swf
Binary file not shown.
View
BIN examples/bin/point_tracker_demo.swf
Binary file not shown.
View
BIN examples/bin/posterize_outline_demo.swf
Binary file not shown.
View
BIN examples/bin/static_mirror.swf
Binary file not shown.
View
BIN examples/bin/static_mirror_demo.swf
Binary file not shown.
View
BIN examples/bin/ts_machine_vision.swf
Binary file not shown.
View
BIN examples/fla/BRF_FaceDetection.fla
Binary file not shown.
View
BIN examples/fla/FaceSquash.cs4.fla
Binary file not shown.
View
BIN examples/fla/FaceSquash.fla
Binary file not shown.
View
BIN examples/fla/HelloWorld.cs4.fla
Binary file not shown.
View
BIN examples/fla/PerlinOutline.cs4.fla
Binary file not shown.
View
BIN examples/fla/PointTrackerDemo.fla
Binary file not shown.
View
BIN examples/fla/StaticMirror.cs4.fla
Binary file not shown.
View
BIN examples/src/TSMachineVision.cs4.fla → examples/fla/TSMachineVision.cs4.fla
Binary file not shown.
View
192 examples/src/AllFilters.as
@@ -0,0 +1,192 @@
+/*---------------------------------------------------------------------------------------------
+
+ [AS3] AllFilters
+ =======================================================================================
+
+ HiSlope toolkit copyright (c) 2010 Tomek 'Og2t' Augustyn
+ http://play.blog2t.net/hislope
+
+ You are free to use this source code in any project.
+ You are free to modify this source code in anyway you see fit.
+ You are free to distribute this source code.
+
+ You may NOT charge anything for this source code.
+ This notice and the copyright information must be left intact in any distribution of this source code.
+ You are encouraged to release any improvements back to the ActionScript community.
+
+ VERSION HISTORY:
+ v0.1 Born on 7/7/2010
+
+ USAGE:
+
+ TODOs:
+
+ DEV IDEAS:
+
+ KNOWN ISSUES:
+
+---------------------------------------------------------------------------------------------*/
+
+package
+{
+ // IMPORTS ////////////////////////////////////////////////////////////////////////////////
+
+ import flash.display.Sprite;
+ import flash.display.StageAlign;
+ import flash.display.StageScaleMode;
+ import flash.events.Event;
+
+ import hislope.core.FilterChain;
+ import hislope.display.MetaBitmapData;
+ import hislope.events.HiSlopeEvent;
+ import hislope.filters.FilterBase;
+
+ import hislope.filters.basic.Blur;
+ import hislope.filters.basic.Posterize;
+ import hislope.filters.basic.PosterizeOutline;
+ import hislope.filters.basic.Pixellize;
+
+ import hislope.filters.color.ColorGrading;
+ import hislope.filters.color.ColorRange;
+ import hislope.filters.color.HSBC;
+ import hislope.filters.color.Pointillize;
+
+ import hislope.filters.detectors.AdaptiveThreshold;
+ import hislope.filters.detectors.QuickFaceDetector;
+ import hislope.filters.detectors.Sobel;
+
+ import hislope.filters.displace.NoiseDitherer;
+
+ import hislope.filters.generators.MetaBalls;
+ import hislope.filters.generators.PerlinNoise;
+ import hislope.filters.generators.Pins;
+ import hislope.filters.generators.Starburst;
+
+ import hislope.filters.inputs.VideoPlayer;
+ import hislope.filters.inputs.WebCam;
+
+ import hislope.filters.lk.LKTracker;
+
+ import hislope.filters.motion.BackDropRemoval;
+ import hislope.filters.motion.DirectionCapture;
+ import hislope.filters.motion.MotionCapture;
+
+ import hislope.filters.photo.Bloom;
+
+ import hislope.filters.pixelbender.fx.ASCIIMii;
+ import hislope.filters.pixelbender.fx.halftone.AngledBWHalftone;
+ import hislope.filters.pixelbender.fx.halftone.DuoHalftone;
+ import hislope.filters.pixelbender.fx.halftone.IA_Halftone;
+ import hislope.filters.pixelbender.fx.halftone.PlainHalftone;
+ import hislope.filters.pixelbender.fx.halftone.RandomDither;
+ import hislope.filters.pixelbender.fx.halftone.RGBHalftone;
+
+ import hislope.filters.pixelbender.fx.LittlePlanet;
+ import hislope.filters.pixelbender.fx.OldLens;
+ import hislope.filters.pixelbender.fx.Pencil;
+ import hislope.filters.pixelbender.fx.Sepia;
+
+ import hislope.filters.pixelbender.fx.Technicolor;
+ import hislope.filters.pixelbender.fx.XProcess;
+
+ import hislope.filters.pixelbender.Gamma;
+ import hislope.filters.pixelbender.generators.Raytracer;
+ import hislope.filters.pixelbender.Levels;
+
+
+ import hislope.gui.Output;
+
+
+ // CLASS //////////////////////////////////////////////////////////////////////////////////
+
+ [SWF(width='1440', height='900', frameRate='60', backgroundColor='0x181818')]
+ public class AllFilters extends Sprite
+ {
+ // CONSTANTS //////////////////////////////////////////////////////////////////////////
+
+ // MEMBERS ////////////////////////////////////////////////////////////////////////////
+
+ private var processedBmpData:MetaBitmapData;
+ private var filterChain:FilterChain;
+ private var input:*;
+
+ // CONSTRUCTOR ////////////////////////////////////////////////////////////////////////
+
+ public function AllFilters()
+ {
+ stage.scaleMode = StageScaleMode.NO_SCALE;
+ stage.align = StageAlign.TOP_LEFT;
+
+ filterChain = new FilterChain("All Filters", 400, 300, true);
+ addChild(filterChain);
+
+ FilterBase.stage = stage;
+
+ processedBmpData = new MetaBitmapData(FilterBase.WIDTH, FilterBase.HEIGHT, false, 0);
+ var output:Output = new Output(processedBmpData, "Output");
+ addChild(output);
+ output.x = filterChain.width + 10;
+ /*output.scale = 2.0;*/
+
+ /*var input:WebCam = new WebCam();*/
+
+ var input:VideoPlayer = new VideoPlayer();
+ input.addVideo("videos/black_or_white.mov", "B&W Video");
+
+ var metaballs:MetaBalls = new MetaBalls();
+ metaballs.addEventListener(HiSlopeEvent.INPUT_RENDERED, render, false, 0, true);
+ filterChain.addFilter(metaballs);
+
+ /*var pins:Pins = new Pins();
+ pins.addEventListener(HiSlopeEvent.INPUT_RENDERED, render, false, 0, true);*/
+
+ /*filterChain.addFilter(metaballs, true, false, true);*/
+ /*filterChain.addFilter(pins, true, false, true);*/
+
+ /*var input:PerlinNoise = new PerlinNoise();*/
+ /*filterChain.addFilter(input, true);*/
+ /*input.addEventListener(HiSlopeEvent.INPUT_RENDERED, render, false, 0, true);*/
+
+ /*filterChain.addFilter(new AdaptiveThreshold());*/
+ /*filterChain.addFilter(new Bloom());*/
+ /*filterChain.addFilter(new Blur());*/
+ /*filterChain.addFilter(new ColorGrading());*/
+ /*filterChain.addFilter(new ColorRange());*/
+ /*filterChain.addFilter(new Gamma());*/
+ /*filterChain.addFilter(new HSBC());*/
+ /*filterChain.addFilter(new Levels());*/
+ /*filterChain.addFilter(new LittlePlanet());*/
+ /*filterChain.addFilter(new OldLens());*/
+ /*filterChain.addFilter(new Pointillize());*/
+ /*filterChain.addFilter(new Posterize());*/
+ /*filterChain.addFilter(new PosterizeOutline());*/
+ /*filterChain.addFilter(new RGBHalftone());*/
+ /*filterChain.addFilter(new Sepia());*/
+ /*filterChain.addFilter(new ShapeDepth());*/
+ /*filterChain.addFilter(new Sobel());*/
+ /*filterChain.addFilter(new Technicolor());*/
+ /*filterChain.addFilter(new XProcess());*/
+ /*filterChain.addFilter(new QuickFaceDetector());*/
+ /*filterChain.addFilter(new Pixellize());*/
+ /*filterChain.addFilter(new NoiseDitherer());*/
+
+ filterChain.addFilter(new Posterize(), false, false, false, false);
+ filterChain.addFilter(new ColorGrading(), false, false, false, false);
+ filterChain.addFilter(new Pixellize(), false, false, false, false);
+ filterChain.addFilter(new NoiseDitherer(), false, false, false, false);
+
+ }
+
+ // PUBLIC METHODS /////////////////////////////////////////////////////////////////////
+ // PRIVATE METHODS ////////////////////////////////////////////////////////////////////
+ // EVENT HANDLERS /////////////////////////////////////////////////////////////////////
+
+ private function render(event:Event):void
+ {
+ filterChain.process(processedBmpData);
+ }
+
+ // GETTERS & SETTERS //////////////////////////////////////////////////////////////////
+ // HELPERS ////////////////////////////////////////////////////////////////////////////
+ }
+}
View
91 examples/src/BRFFaceEstimationDemo.as
@@ -0,0 +1,91 @@
+/*
+ HiSlope toolkit copyright (c) 2010 Tomek 'Og2t' Augustyn
+ http://play.blog2t.net/hislope
+
+ You are free to use this source code in any project.
+ You are free to modify this source code in anyway you see fit.
+ You are free to distribute this source code.
+
+ You may NOT charge anything for this source code.
+ This notice and the copyright information must be left intact in any distribution of this source code.
+ You are encouraged to release any improvements back to the ActionScript community.
+*/
+
+package
+{
+ // IMPORTS ////////////////////////////////////////////////////////////////////////////////
+
+ import hislope.events.HiSlopeEvent;
+ import flash.display.Sprite;
+ import flash.display.StageScaleMode;
+ import flash.display.StageAlign;
+ import flash.events.Event;
+
+ import hislope.core.FilterChain;
+ import hislope.display.MetaBitmapData;
+ import hislope.filters.inputs.WebCam;
+ import hislope.filters.inputs.VideoPlayer;
+ import hislope.filters.FilterBase;
+ import hislope.display.HiSlopeLogo;
+
+ import hislope.gui.Output;
+ import hislope.filters.brf.BRFFaceEstimation;
+
+ // CLASS //////////////////////////////////////////////////////////////////////////////////
+
+ [SWF(width='1024', height='768', frameRate='60', backgroundColor='0x181818')]
+ public class BRFFaceEstimationDemo extends Sprite
+ {
+ // CONSTANTS //////////////////////////////////////////////////////////////////////////
+
+ // MEMBERS ////////////////////////////////////////////////////////////////////////////
+
+ private var filterChain:FilterChain;
+ private var processedBmpData:MetaBitmapData;
+ private var output:Output;
+
+ private var faceDetection:BRFFaceEstimation = new BRFFaceEstimation();
+
+ // CONSTRUCTOR ////////////////////////////////////////////////////////////////////////
+
+ public function BRFFaceEstimationDemo()
+ {
+ stage.scaleMode = StageScaleMode.NO_SCALE;
+ stage.align = StageAlign.TOP_LEFT;
+
+ var hiSlopeLogo:HiSlopeLogo = new HiSlopeLogo();
+ addChild(hiSlopeLogo);
+ hiSlopeLogo.setPosition(600, 26);
+
+
+ FilterBase.stage = stage;
+
+ filterChain = new FilterChain("Face Detection", 640 / 1, 480 / 1);
+ processedBmpData = new MetaBitmapData();
+ output = new Output(processedBmpData, "output");
+
+ addChild(filterChain);
+ addChild(output);
+ output.x = 320 + 20;
+ output.y = 120;
+
+ var webcam:WebCam = new WebCam({scale: filterChain.width / WebCam.MAX_WIDTH});
+ webcam.addEventListener(HiSlopeEvent.INPUT_RENDERED, render);
+
+ var video:VideoPlayer = new VideoPlayer();
+ video.addEventListener(HiSlopeEvent.INPUT_RENDERED, render);
+ video.addVideo("videos_extra/face_gestures.mov", "Face Fun");
+
+ filterChain.addFilter(video);
+ filterChain.addFilter(webcam, false, false, false, false);
+
+ filterChain.addFilter(faceDetection, true);
+ }
+
+
+ private function render(event:Event):void
+ {
+ filterChain.process(processedBmpData);
+ }
+ }
+}
View
113 examples/src/DoubleChain.as
@@ -0,0 +1,113 @@
+/*
+ HiSlope toolkit copyright (c) 2008-2011 Tomek 'Og2t' Augustyn
+ http://play.blog2t.net/HiSlope
+
+ You are free to use this source code in any non-commercial project.
+ You are free to modify this source code in anyway you see fit.
+ You are free to distribute this source code.
+
+ You may NOT charge anything for this source code.
+ This notice and the copyright information must be left intact in any distribution of this source code.
+ You are encouraged to release any improvements back to the ActionScript community.
+*/
+
+package
+{
+ // IMPORTS ////////////////////////////////////////////////////////////////////////////////
+
+ import flash.events.Event;
+ import flash.display.Sprite;
+ import flash.display.Bitmap;
+ import flash.display.BitmapData;
+ import flash.display.StageScaleMode;
+ import flash.display.StageAlign;
+
+ import hislope.core.FilterChain;
+ import hislope.filters.FilterBase;
+
+ import hislope.display.MetaBitmapData;
+
+ import hislope.filters.generators.Starburst;
+ import hislope.filters.inputs.WebCam;
+ import hislope.filters.motion.BackDropRemoval;
+ import hislope.filters.motion.MotionCapture;
+
+ import hislope.gui.Output;
+ import hislope.events.HiSlopeEvent;
+
+ // CLASS //////////////////////////////////////////////////////////////////////////////////
+
+ [SWF(width='1200', height='600', frameRate='60', backgroundColor='0x181818')]
+ public class DoubleChain extends Sprite
+ {
+ // MEMBERS ////////////////////////////////////////////////////////////////////////////
+
+ private var processedBmpData:MetaBitmapData;
+ private var fxBmpData:MetaBitmapData;
+
+ private var mergedBmpData:BitmapData;
+
+ private var filterChain:FilterChain;
+ private var fxChain:FilterChain;
+
+ private var starburst:Starburst;
+ private var counter:Number;
+
+ // CONSTRUCTOR ////////////////////////////////////////////////////////////////////////
+
+ public function DoubleChain()
+ {
+ stage.scaleMode = StageScaleMode.NO_SCALE;
+ stage.align = StageAlign.TOP_LEFT;
+
+ FilterBase.stage = stage;
+
+ filterChain = new FilterChain("Backdrop Removal", 320, 240, true);
+ addChild(filterChain);
+ filterChain.x = filterChain.width + 10;
+
+ var input:WebCam = new WebCam();
+ /*input.addEventListener(HiSlopeEvent.INPUT_RENDERED, render, false, 0, true);*/
+
+ filterChain.addFilter(input, true, false, false);
+ filterChain.addFilter(new BackDropRemoval());
+
+ fxChain = new FilterChain("Starburst", 320, 240, true);
+ addChild(fxChain);
+
+ fxBmpData = new MetaBitmapData(FilterBase.WIDTH, FilterBase.HEIGHT, true, 0);
+ processedBmpData = fxBmpData.cloneAsMeta();
+ mergedBmpData = fxBmpData.clone();
+
+ var fxOutput:Bitmap = new Bitmap(fxBmpData);
+ addChild(fxOutput);
+ fxOutput.x = 640 + 40;
+
+ starburst = new Starburst({fps: 60.000, period: 4.000, twist: 0.752, fill: 0.350, rotationSpeed: 0.320, centerX: 160.000, centerY: 120.000, foreground: 0x48B5A9, background: 0xEBA205});
+ starburst.addEventListener(HiSlopeEvent.INPUT_RENDERED, render, false, 0, true);
+
+ fxChain.addFilter(starburst, true);
+
+ var output:Output = new Output(mergedBmpData);
+ addChild(output);
+ output.x = 640 + 40;
+
+ counter = 0;
+ }
+
+ private function render(event:Event):void
+ {
+ stage.quality = "low";
+ fxChain.process(fxBmpData);
+ filterChain.process(processedBmpData);
+ stage.quality = "high";
+
+ mergedBmpData.draw(fxBmpData);
+ mergedBmpData.draw(processedBmpData);
+
+ starburst.twist = Math.sin(counter);
+ counter += 0.1;
+ starburst.updateParams();
+ }
+ }
+}
View
131 examples/src/HalftoningDemo.as
@@ -0,0 +1,131 @@
+/*
+ HiSlope toolkit copyright (c) 2010 Tomek 'Og2t' Augustyn
+ http://play.blog2t.net/hislope
+
+ You are free to use this source code in any project.
+ You are free to modify this source code in anyway you see fit.
+ You are free to distribute this source code.
+
+ You may NOT charge anything for this source code.
+ This notice and the copyright information must be left intact in any distribution of this source code.
+ You are encouraged to release any improvements back to the ActionScript community.
+*/
+
+package
+{
+ // IMPORTS ////////////////////////////////////////////////////////////////////////////////
+
+ import flash.events.Event;
+ import flash.display.Sprite;
+ import flash.display.StageScaleMode;
+ import flash.display.StageAlign;
+
+ import hislope.core.FilterChain;
+ import hislope.display.MetaBitmapData;
+ import hislope.filters.inputs.WebCam;
+ import hislope.filters.inputs.VideoPlayer;
+ import hislope.filters.basic.Blur;
+ import hislope.filters.color.HSBC;
+ import hislope.filters.motion.MotionCapture;
+ import hislope.filters.detectors.BlobDetector;
+ import hislope.filters.displace.NoiseDitherer;
+ import hislope.filters.pixelbender.fx.ASCIIMii;
+ import hislope.filters.pixelbender.fx.halftone.AngledBWHalftone;
+ import hislope.filters.pixelbender.fx.halftone.IA_Halftone;
+ import hislope.filters.pixelbender.fx.halftone.DuoHalftone;
+ import hislope.filters.pixelbender.fx.halftone.RGBHalftone;
+ import hislope.filters.pixelbender.fx.halftone.PatternHalftone;
+ import hislope.filters.pixelbender.fx.halftone.PlainHalftone;
+ import hislope.filters.pixelbender.generators.Raytracer;
+ import hislope.filters.generators.Starburst;
+ import hislope.filters.color.Pointillize;
+
+ import hislope.filters.pixelbender.fx.halftone.patterns.RasterPattern;
+ import hislope.filters.pixelbender.fx.halftone.patterns.StripesPattern;
+ /*import hislope.filters.pixelbender.fx.halftone.patterns.CircularDisksPattern;
+ import hislope.filters.pixelbender.fx.halftone.patterns.StarburstPattern;*/
+ import hislope.filters.pixelbender.fx.halftone.patterns.CirclesPattern;
+
+ import hislope.gui.Output;
+ import hislope.events.HiSlopeEvent;
+
+ import com.greensock.TweenLite;
+
+ // CLASS //////////////////////////////////////////////////////////////////////////////////
+
+ [SWF(width='800', height='600', frameRate='60', backgroundColor='0x181818')]
+ public class HalftoningDemo extends Sprite
+ {
+ private var counter:Number = 0;
+ private var starburst:Starburst;
+
+ public function HalftoningDemo()
+ {
+ stage.scaleMode = StageScaleMode.NO_SCALE;
+ stage.align = StageAlign.TOP_LEFT;
+
+ var filterChain:FilterChain = new FilterChain("Halftoning Demo", 600, 338, true);
+ addChild(filterChain);
+ filterChain.x = 40;
+
+ var processedBmpData:MetaBitmapData = new MetaBitmapData();
+
+ var output:Output = new Output(processedBmpData, "output");
+ addChild(output);
+ output.x = filterChain.width + filterChain.x + 20;
+ output.scale = 1.5;
+
+ var input:VideoPlayer = new VideoPlayer();
+ input.addVideo("videos_extra/halftone_video.mp4", "Video");
+ input.addEventListener(HiSlopeEvent.INPUT_RENDERED, render);
+
+ /*var input:WebCam = new WebCam();*/
+ /*var input:Raytracer = new Raytracer();*/
+
+ /*var blur:Blur = new Blur();*/
+
+ filterChain.addFilter(input, false, false, true, false);
+
+ starburst = new Starburst({fps: 60.000, period: 4.000, twist: 0.752, fill: 0.350, rotationSpeed: 0.320});
+ starburst.addEventListener(HiSlopeEvent.INPUT_RENDERED, render, false, 0, true);
+ filterChain.addFilter(starburst, false, false, false, false);
+
+ /*filterChain.addFilter(blur, true);*/
+ filterChain.addFilter(new HSBC(), false, false, false, false);
+ /*filterChain.addFilter(new ASCIIMii());*/
+
+ /*filterChain.addFilter(new CircularDisksPattern());*/
+ /*filterChain.addFilter(new StarburstPattern());*/
+
+ filterChain.addFilter(new StripesPattern(), false, false, false, false);
+ filterChain.addFilter(new RasterPattern(), false, false, false, false);
+ filterChain.addFilter(new CirclesPattern(), false, false, false, false);
+ filterChain.addFilter(new PatternHalftone(), false, false, false, false);
+
+ filterChain.addFilter(new DuoHalftone(), false, false, false, false);
+ filterChain.addFilter(new RGBHalftone(), false, false, false, false);
+ filterChain.addFilter(new PlainHalftone(), false, false, false, false);
+ filterChain.addFilter(new AngledBWHalftone(), false, false, false, false);
+ filterChain.addFilter(new IA_Halftone(), false, false, false, false);
+ filterChain.addFilter(new Pointillize(), false, false, false, false);
+ /*filterChain.addFilter(new NoiseDitherer());*/
+ /*filterChain.addFilter(new MotionCapture());*/
+ /*filterChain.addFilter(new BlobDetector());*/
+
+ /*TweenLite.to(blur, 10,
+ {
+ onUpdate: blur.updatePanelUI,
+ amount: 0
+ });*/
+
+ function render(event:Event):void
+ {
+ filterChain.process(processedBmpData);
+
+ starburst.twist = Math.sin(counter);
+ counter += 0.1;
+ starburst.updateParams();
+ }
+ }
+ }
+}
View
24 examples/src/HelloWorld.as → examples/src/HelloSlope.as
@@ -24,41 +24,37 @@ package
import hislope.display.MetaBitmapData;
import hislope.filters.inputs.WebCam;
import hislope.filters.basic.Blur;
+ import hislope.filters.color.HSBC;
import hislope.gui.Output;
import hislope.events.HiSlopeEvent;
-
- import net.hires.util.Stats;
-
+
// CLASS //////////////////////////////////////////////////////////////////////////////////
[SWF(width='800', height='600', frameRate='60', backgroundColor='0x181818')]
- public class HelloWorld extends Sprite
+ public class HelloSlope extends Sprite
{
- public function HelloWorld()
+ public function HelloSlope()
{
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
- var filterChain:FilterChain = new FilterChain("hello world");
+ var filterChain:FilterChain = new FilterChain("Hello Slope!", 640 / 2, 480 / 2);
addChild(filterChain);
var processedBmpData:MetaBitmapData = new MetaBitmapData();
var output:Output = new Output(processedBmpData, "output");
addChild(output);
- output.x = 320 + 20;
+ output.x = filterChain.width + 10;
+ output.scale = 1.0;
- var stats:Stats = new Stats(true);
- addChild(stats);
- stats.x = 320 + 20;
- stats.y = 240 + 10;
-
var input:WebCam = new WebCam();
input.addEventListener(HiSlopeEvent.INPUT_RENDERED, render);
filterChain.addFilter(input, true);
- filterChain.addFilter(new Blur(), true);
-
+ filterChain.addFilter(new HSBC({brightness: -43, contrast: 52}), true);
+ filterChain.addFilter(new Blur({amount: 20, quality: 3}), true);
+
function render(event:Event):void
{
filterChain.process(processedBmpData);
View
BIN examples/src/HelloWorld.cs4.fla
Binary file not shown.
View
31 examples/src/TSMachineVision.as → examples/src/MachineVisionDemo.as
@@ -1,6 +1,6 @@
/*---------------------------------------------------------------------------------------------
- [AS3] BlinkDetector
+ [AS3] MachineVisionDemo
=======================================================================================
HiSlope toolkit copyright (c) 2010 Tomek 'Og2t' Augustyn
@@ -36,8 +36,6 @@ package
import flash.display.StageScaleMode;
import flash.events.Event;
- import net.hires.util.Stats;
-
import hislope.filters.inputs.WebCam;
import hislope.filters.inputs.VideoPlayer;
import hislope.filters.FilterBase;
@@ -56,7 +54,7 @@ package
// CLASS //////////////////////////////////////////////////////////////////////////////////
[SWF(width='800', height='600', frameRate='60', backgroundColor='0x181818')]
- public class TSMachineVision extends Sprite
+ public class MachineVisionDemo extends Sprite
{
// CONSTANTS //////////////////////////////////////////////////////////////////////////
@@ -64,31 +62,26 @@ package
private var processedBmpData:MetaBitmapData;
private var filterChain:FilterChain;
-
- private var fpsRater:Stats = new Stats(true);
// CONSTRUCTOR ////////////////////////////////////////////////////////////////////////
- public function TSMachineVision()
+ public function MachineVisionDemo()
{
stage.scaleMode = StageScaleMode.NO_SCALE;
- stage.align = StageAlign.TOP_LEFT;
+ stage.align = StageAlign.TOP_LEFT;
- filterChain = new FilterChain("MACHINE VISION", 320 * 1, 240 * 1, true);
+ filterChain = new FilterChain("MACHINE VISION", 320, 240, true);
addChild(filterChain);
+ filterChain.x = 20;
processedBmpData = new MetaBitmapData(FilterBase.WIDTH, FilterBase.HEIGHT, false, 0);
var output:Output = new Output(processedBmpData, "output");
addChild(output);
- output.x = 320 + 30;
-
- addChild(fpsRater);
- fpsRater.x = 320 + 30;
- fpsRater.y = 240 + 10;
-
+ output.x = filterChain.x + filterChain.width + 20;
+ output.scale = 2.0;
+
var inputWC:WebCam = new WebCam();
var inputVP:VideoPlayer = new VideoPlayer();
- /*inputVP.addVideo("videos/black_or_white_sequence.mov", "B&W Full");*/
inputVP.addVideo("videos/black_or_white.mov", "B&W Video");
/*inputVP.addVideo("videos/squint.mov", "Squint");*/
@@ -100,8 +93,8 @@ package
filterChain.addFilter(new Levels(), false, false, false, false);
filterChain.addFilter(new QuickFaceDetector({interval: 0.1}), false);
- filterChain.addFilter(new EyeFinder(), true);
- filterChain.addFilter(new ShapeDepth(), true);
+ filterChain.addFilter(new EyeFinder());
+ filterChain.addFilter(new ShapeDepth());
filterChain.addFilter(new ColorGrading({colorStart: 0x0, colorMiddle: 0x750000, colorEnd: 0xFFFFFF}));
filterChain.addFilter(new MachineVision({radiusDeflation: 1, overlayOpacity: 0.5, points: true, lines: false, fills: false, blur: 1, linesColor: 0xFF9F00, pointsColor: 0xFFFFFF}));
}
@@ -114,7 +107,7 @@ package
{
filterChain.process(processedBmpData);
}
-
+
// GETTERS & SETTERS //////////////////////////////////////////////////////////////////
// HELPERS ////////////////////////////////////////////////////////////////////////////
}
View
BIN examples/src/PerlinOutline.cs4.fla
Binary file not shown.
View
164 examples/src/PointTrackerDemo.as
@@ -0,0 +1,164 @@
+/*
+ HiSlope toolkit copyright (c) 2010 Tomek 'Og2t' Augustyn
+ http://play.blog2t.net/hislope
+
+ You are free to use this source code in any project.
+ You are free to modify this source code in anyway you see fit.
+ You are free to distribute this source code.
+
+ You may NOT charge anything for this source code.
+ This notice and the copyright information must be left intact in any distribution of this source code.
+ You are encouraged to release any improvements back to the ActionScript community.
+*/
+
+package
+{
+ // IMPORTS ////////////////////////////////////////////////////////////////////////////////
+
+ import hislope.events.HiSlopeEvent;
+ import flash.display.Sprite;
+ import flash.display.StageScaleMode;
+ import flash.display.StageAlign;
+ import flash.events.Event;
+
+ import hislope.core.FilterChain;
+ import hislope.display.MetaBitmapData;
+ import hislope.filters.inputs.WebCam;
+ import hislope.filters.inputs.VideoPlayer;
+ import hislope.filters.FilterBase;
+ import hislope.display.HiSlopeLogo;
+ import hislope.filters.color.HSBC;
+ import hislope.filters.displace.FaceGoo;
+
+ import hislope.gui.Output;
+
+ import hislope.filters.brf.BRFPointTracker;
+ import hislope.filters.services.FaceAPIDetect;
+
+ import hislope.vo.faceapi.FaceFeatures;
+
+ import com.greensock.TweenLite;
+ import com.greensock.easing.*;
+
+ // CLASS //////////////////////////////////////////////////////////////////////////////////
+
+ [SWF(width='1024', height='768', frameRate='60', backgroundColor='0x181818')]
+ public class PointTrackerDemo extends Sprite
+ {
+ // CONSTANTS //////////////////////////////////////////////////////////////////////////
+
+ // MEMBERS ////////////////////////////////////////////////////////////////////////////
+
+ private var filterChain:FilterChain;
+ private var processedBmpData:MetaBitmapData;
+ private var output1:Output;
+ private var output2:Output;
+
+ private var input:*;
+
+ private var pointTracker:BRFPointTracker;
+ private var faceAPIDetect:FaceAPIDetect;
+
+ private var faceGoo:FaceGoo;
+ private var hsbc:HSBC;
+
+ // CONSTRUCTOR ////////////////////////////////////////////////////////////////////////
+
+ public function PointTrackerDemo()
+ {
+ stage.scaleMode = StageScaleMode.NO_SCALE;
+ stage.align = StageAlign.TOP_LEFT;
+
+ var hiSlopeLogo:HiSlopeLogo = new HiSlopeLogo();
+ addChild(hiSlopeLogo);
+ hiSlopeLogo.setPosition(600, 26);
+
+ FilterBase.stage = stage;
+
+ filterChain = new FilterChain("Point Tracker", 640 / 2, 480 / 2);
+ addChild(filterChain);
+ filterChain.x = 0;
+
+ processedBmpData = new MetaBitmapData();
+
+ pointTracker = new BRFPointTracker();
+ faceAPIDetect = new FaceAPIDetect();
+ faceAPIDetect.addEventListener(FaceAPIDetect.FEATURES_DETECTED, featuresDetected, false, 0, true);
+
+ input = new WebCam();
+ /*input = new VideoPlayer();*/
+ /*input.addVideo("videos/black_or_white_sequence.mov", "B&W Video");*/
+ /*input.addVideo("videos/squint.mov", "Squint");*/
+ /*input.addVideo("videos/face_gestures.mov", "Face Fun");*/
+ /*input.addVideo("videos/eye_track_b1.mov", "Eye Tracking");*/
+ input.addEventListener(HiSlopeEvent.INPUT_RENDERED, render);
+
+ // stack filters
+ filterChain.addFilter(input, true, false, false);
+ filterChain.addFilter(faceAPIDetect, true);
+ /*filterChain.addFilter(new HSBC({hue: 0.000, saturation: -100.000, brightness: 31.000, contrast: 100.000}), false, false, false, false);*/
+ faceGoo = new FaceGoo();
+ hsbc = new HSBC();
+
+ filterChain.addFilter(pointTracker, true);
+ filterChain.addFilter(faceGoo);
+ filterChain.addFilter(hsbc, true, false, false);
+
+ output1 = new Output(processedBmpData, "output");
+ output2 = new Output(pointTracker, "pointTracker");
+ /*output = new Output(faceAPIDetect, "faceAPIDetect");*/
+ addChild(output1);
+ addChild(output2);
+ output1.scale = 2.0;
+
+ output1.x = filterChain.width + filterChain.x + 10;
+ output2.x = output1.x + output1.width + 10;
+ output1.y = output2.y = 120;
+ }
+
+
+ private function render(event:Event):void
+ {
+ filterChain.process(processedBmpData);
+ }
+
+
+ private function gooify():void
+ {
+ TweenLite.to(faceGoo, 4,
+ {
+ scale: 127,
+ onUpdate: faceGoo.updatePanelUI,
+ ease: Sine.easeInOut
+ });
+
+ TweenLite.to(hsbc, 4,
+ {
+ hue: 147,
+ saturation: 25,
+ brightness: 20,
+ contrast: 20,
+ onUpdate: hsbc.updatePanelUI,
+ ease: Sine.easeInOut
+ });
+ }
+
+
+ private function featuresDetected(event:Event):void
+ {
+ var faceFeatures:FaceFeatures = faceAPIDetect.faceFeatures[0];
+
+ pointTracker.clearPoints();
+ pointTracker.addTrackingPoint(faceFeatures.eye_left);
+ pointTracker.addTrackingPoint(faceFeatures.eye_right);
+ pointTracker.addTrackingPoint(faceFeatures.nose);
+ pointTracker.addTrackingPoint(faceFeatures.mouth_right);
+ pointTracker.addTrackingPoint(faceFeatures.mouth_center);
+ pointTracker.addTrackingPoint(faceFeatures.mouth_left);
+ pointTracker.addTrackingPoint(faceFeatures.mouth_midleft);
+ pointTracker.addTrackingPoint(faceFeatures.mouth_midright);
+
+ gooify();
+ }
+ }
+}
View
53 examples/src/PerlinOutline.as → examples/src/PosterizeOutlineDemo.as
@@ -1,6 +1,6 @@
/*---------------------------------------------------------------------------------------------
- [AS3] BlinkDetector
+ [AS3] PosterizeOutlineDemo
=======================================================================================
HiSlope toolkit copyright (c) 2010 Tomek 'Og2t' Augustyn
@@ -36,8 +36,6 @@ package
import flash.display.StageScaleMode;
import flash.events.Event;
- import net.hires.util.Stats;
-
import hislope.filters.basic.PosterizeOutline;
import hislope.filters.generators.PerlinNoise;
import hislope.filters.inputs.WebCam;
@@ -45,7 +43,9 @@ package
import hislope.filters.FilterBase;
import hislope.filters.pixelbender.Levels;
import hislope.filters.pixelbender.fx.LittlePlanet;
- /*import hislope.filters.pixelbender.fx.RGBTone;*/
+ import hislope.filters.pixelbender.fx.halftone.RGBHalftone;
+ import hislope.filters.pixelbender.fx.halftone.DuoHalftone;
+
import hislope.filters.color.ColorGrading;
import hislope.filters.color.HSBC;
@@ -56,8 +56,8 @@ package
// CLASS //////////////////////////////////////////////////////////////////////////////////
- [SWF(width='800', height='600', frameRate='60', backgroundColor='0x181818')]
- public class PerlinOutline extends Sprite
+ [SWF(width='1440', height='900', frameRate='60', backgroundColor='0x181818')]
+ public class PosterizeOutlineDemo extends Sprite
{
// CONSTANTS //////////////////////////////////////////////////////////////////////////
@@ -65,47 +65,38 @@ package
private var processedBmpData:MetaBitmapData;
private var filterChain:FilterChain;
+ private var input:*;
- private var fpsRater:Stats = new Stats(true);
-
// CONSTRUCTOR ////////////////////////////////////////////////////////////////////////
- public function PerlinOutline()
+ public function PosterizeOutlineDemo()
{
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
- filterChain = new FilterChain("Perlin Outline", 320 * 1, 240 * 1, true);
+ filterChain = new FilterChain("Posterize Outline", 400, 300, true);
addChild(filterChain);
+ FilterBase.stage = stage;
+
processedBmpData = new MetaBitmapData(FilterBase.WIDTH, FilterBase.HEIGHT, false, 0);
- var output:Output = new Output(processedBmpData, "output");
+ var output:Output = new Output(processedBmpData, "Output");
addChild(output);
- output.x = 320 + 30;
+ output.x = filterChain.width + 10;
- addChild(fpsRater);
- fpsRater.x = 320 + 30;
- fpsRater.y = 240 + 10;
+ /*var input:WebCam = new WebCam();*/
- /*var inputWC:WebCam = new WebCam();
- var inputVP:VideoPlayer = new VideoPlayer();
- inputVP.addVideo("videos/black_or_white.mov", "B&W Video");*/
-
- var inputPN:PerlinNoise = new PerlinNoise();
- filterChain.addFilter(inputPN, true);
- /*filterChain.addFilter(inputVP, false, false, false, false);
- filterChain.addFilter(inputWC, false, false, false, false);*/
+ /*var input:VideoPlayer = new VideoPlayer();*/
+ /*input.addVideo("videos/black_or_white.mov", "B&W Video");*/
- inputPN.addEventListener(HiSlopeEvent.INPUT_RENDERED, render, false, 0, true);
- /*inputVP.addEventListener(HiSlopeEvent.INPUT_RENDERED, render, false, 0, true);
- inputWC.addEventListener(HiSlopeEvent.INPUT_RENDERED, render, false, 0, true);*/
+ var input:PerlinNoise = new PerlinNoise();
+ filterChain.addFilter(input, true);
+ input.addEventListener(HiSlopeEvent.INPUT_RENDERED, render, false, 0, true);
- /*filterChain.addFilter(new Levels(), false);*/
- filterChain.addFilter(new HSBC(), false);
- /*filterChain.addFilter(new LittlePlanet(), false, false, false, false);*/
+ filterChain.addFilter(new Levels(), false);
+ /*filterChain.addFilter(new HSBC(), false);*/
filterChain.addFilter(new PosterizeOutline());
- /*filterChain.addFilter(new ColorGrading());*/
- /*filterChain.addFilter(new RGBTone(), false, false, false, false);*/
+ filterChain.addFilter(new ColorGrading());
}
// PUBLIC METHODS /////////////////////////////////////////////////////////////////////
View
BIN examples/src/StaticMirror.cs4.fla
Binary file not shown.
View
41 examples/src/StaticMirror.as → examples/src/StaticMirrorDemo.as
@@ -1,6 +1,6 @@
/*---------------------------------------------------------------------------------------------
- [AS3] BlinkDetector
+ [AS3] StaticMirrorDemo
=======================================================================================
HiSlope toolkit copyright (c) 2010 Tomek 'Og2t' Augustyn
@@ -36,8 +36,6 @@ package
import flash.display.StageScaleMode;
import flash.events.Event;
- import net.hires.util.Stats;
-
import hislope.filters.inputs.WebCam;
import hislope.filters.inputs.VideoPlayer;
import hislope.filters.FilterBase;