<commit_before>package com.haxademic.app.horrorhouse;

import java.util.ArrayList;

import processing.core.PApplet;
import processing.core.PGraphics;
import processing.core.PImage;
import processing.opengl.PShader;
import processing.video.Movie;

import com.haxademic.core.app.P;
import com.haxademic.core.app.PAppletHax;
import com.haxademic.core.draw.util.DrawUtil;
import com.haxademic.core.hardware.kinect.KinectAmbientActivityMonitor;
import com.haxademic.core.math.MathUtil;
import com.haxademic.core.system.FileUtil;

@SuppressWarnings("serial")
public class BloodSplats
extends PAppletHax{
	
	protected int _numDrips = 50;
	protected Drip[] _drips = new Drip[_numDrips];
	protected int _newDripIndex = 0;
	protected ArrayList<Movie> _vidClips;
	protected Movie _curClip;
	protected boolean _clipPlaying = false;
	
	protected PGraphics _pg;
	
	protected PShader _invert;
	protected PShader _badtv;
	protected PShader _vignette;
	protected PShader _blurH;
	protected PShader _blurV;
	
	protected KinectAmbientActivityMonitor _kinectMonitor;
	
	protected PImage _horrorhouse;
	protected boolean _logoShowing = true;
	
	protected boolean _kinectActive = false;
	protected int _nextLightning = 0;
	protected int _nextLogoSpaz = 0;
	protected int _nextLightningLength = 0;
	protected int _nextLogoSpazLength = 0;
	protected int _nextSplatFrame = 0;
	// configure everything for the install here ======================
	protected boolean _mirrored = false;
	protected float _baseLogoScale = 1.0f;
	protected float _kinectAcitivityLaunchThreshold = 40000f;
	protected int _nextLightningLow = 100;
	protected int _nextLightningHigh = 800;
	// end config =====================================================
	
	
	/**
	 * Auto-initialization of the main class.
	 * @param args
	 */
	public static void main(String args[]) {
		_isFullScreen = true;
		PApplet.main(new String[] { "--hide-stop", "--bgcolor=000000", "com.haxademic.sketch.particle.BloodSplats" });
	}
	protected void overridePropsFile() {
		_appConfig.setProperty( "width", "1000" );
		_appConfig.setProperty( "height", "800" );
		_appConfig.setProperty( "rendering", "false" );
		_appConfig.setProperty( "fps", "30" );
		_appConfig.setProperty( "kinect_active", "true" );
		_appConfig.setProperty( "fullscreen", "true" );<commit_msg>Fix java application launch args namespace<commit_after>package com.haxademic.app.horrorhouse;

import java.util.ArrayList;

import processing.core.PApplet;
import processing.core.PGraphics;
import processing.core.PImage;
import processing.opengl.PShader;
import processing.video.Movie;

import com.haxademic.core.app.P;
import com.haxademic.core.app.PAppletHax;
import com.haxademic.core.draw.util.DrawUtil;
import com.haxademic.core.hardware.kinect.KinectAmbientActivityMonitor;
import com.haxademic.core.math.MathUtil;
import com.haxademic.core.system.FileUtil;

@SuppressWarnings("serial")
public class BloodSplats
extends PAppletHax{
	
	protected int _numDrips = 50;
	protected Drip[] _drips = new Drip[_numDrips];
	protected int _newDripIndex = 0;
	protected ArrayList<Movie> _vidClips;
	protected Movie _curClip;
	protected boolean _clipPlaying = false;
	
	protected PGraphics _pg;
	
	protected PShader _invert;
	protected PShader _badtv;
	protected PShader _vignette;
	protected PShader _blurH;
	protected PShader _blurV;
	
	protected KinectAmbientActivityMonitor _kinectMonitor;
	
	protected PImage _horrorhouse;
	protected boolean _logoShowing = true;
	
	protected boolean _kinectActive = false;
	protected int _nextLightning = 0;
	protected int _nextLogoSpaz = 0;
	protected int _nextLightningLength = 0;
	protected int _nextLogoSpazLength = 0;
	protected int _nextSplatFrame = 0;
	// configure everything for the install here ======================
	protected boolean _mirrored = false;
	protected float _baseLogoScale = 1.0f;
	protected float _kinectAcitivityLaunchThreshold = 40000f;
	protected int _nextLightningLow = 100;
	protected int _nextLightningHigh = 800;
	// end config =====================================================
	
	
	/**
	 * Auto-initialization of the main class.
	 * @param args
	 */
	public static void main(String args[]) {
		_isFullScreen = true;
		PApplet.main(new String[] { "--hide-stop", "--bgcolor=000000", "com.haxademic.app.horrorhouse.BloodSplats" });
	}
	protected void overridePropsFile() {
		_appConfig.setProperty( "width", "1000" );
		_appConfig.setProperty( "height", "800" );
		_appConfig.setProperty( "rendering", "false" );
		_appConfig.setProperty( "fps", "30" );
		_appConfig.setProperty( "kinect_active", "true" );
		_appConfig.setProperty( "fullscreen", "true" );
{'fraction_non_alphanumeric': 0.12643429313704266, 'fraction_numerical': 0.015587789564840875, 'mean_word_length': 5.543909348441926, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3308401', 'n_tokens_mistral': 1622, 'n_tokens_neox': 1482, 'n_words': 355}