Available Methods
- main ( )
- println ( )
- arrayCopy ( )
- registerMethod ( )
- runSketch ( )
- beginShape ( )
- createShape ( )
- rect ( )
- popMatrix ( )
- createFont ( )
- fill ( )
- vertex ( )
- createGraphics ( )
- expand ( )
- loadXML ( )
- constrain ( )
- pushMatrix ( )
- parseChar ( )
- floor ( )
- loadStrings ( )
- pushStyle ( )
- translate ( )
- map ( )
- pow ( )
- random ( )
- atan2 ( )
Related Classes
- java.util.Arrays
- java.io.File
- android.content.Context
- java.util.Iterator
- java.util.regex.Pattern
- java.net.URL
- java.io.InputStreamReader
- java.io.BufferedReader
- java.io.FileInputStream
- java.util.regex.Matcher
- java.util.Properties
- java.lang.reflect.InvocationTargetException
- java.nio.ByteBuffer
- java.io.FileReader
- java.lang.reflect.Constructor
- java.nio.ByteOrder
- java.nio.IntBuffer
- org.reflections.Reflections
- dalvik.system.DexClassLoader
- dalvik.system.PathClassLoader
- com.sun.jna.platform.win32.Kernel32
- javax.vecmath.Vector3f
- processing.core.PImage
- processing.core.PConstants
- processing.core.PGraphics
Java Code Examples for processing.core.PApplet#parseChar()
The following examples show how to use
processing.core.PApplet#parseChar() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Utility.java From Project-16x16 with GNU General Public License v3.0 | 5 votes |
/** * Encrypts str (JSON) for output. * * @param str * @return */ public static String encrypt(String str) { String output = ""; for (int i = 0; i < str.length(); i++) { int k = PApplet.parseInt(str.charAt(i)); k = (k * 8) - 115; // Encrypt Key output += PApplet.parseChar(k); } return output; }
Example 2
Source File: Utility.java From Project-16x16 with GNU General Public License v3.0 | 5 votes |
/** * Decrypt input to str (JSON). * * @param str * @return */ public static String decrypt(String str) { String output = ""; for (int i = 0; i < str.length(); i++) { int k = PApplet.parseInt(str.charAt(i)); k = (k + 115) / 8; // Encrypt Key output += PApplet.parseChar(k); } return output.replaceAll("" + PApplet.parseChar(8202), "\n").replaceAll("" + PApplet.parseChar(8201), "\t"); }