summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPhone Thant Ko <mr.ptk10598@gmail.com>2018-06-29 16:52:13 +0630
committerPhone Thant Ko <mr.ptk10598@gmail.com>2018-06-29 16:52:13 +0630
commit8f5f8d576bf248a2af9689cb88161f06e2a47e02 (patch)
tree160266ab42fd07778eaac7c83a0694e704e8c3d5
parenta5f04d7e5350274a68bcec7361e4b7beefcf7829 (diff)
Initial Commit
-rw-r--r--processing.html.markdown27
1 files changed, 27 insertions, 0 deletions
diff --git a/processing.html.markdown b/processing.html.markdown
new file mode 100644
index 00000000..707e09c9
--- /dev/null
+++ b/processing.html.markdown
@@ -0,0 +1,27 @@
+---
+language: "Processing"
+filename: learnprocessing.pde
+contributors:
+ - ["Phone Thant Ko", "http://github.com/phonethantko"]
+---
+Processing is a programming language for creation of digital arts and multimedia content, allowing non-programmers to
+learn fundamentals of computer programming in a visual context. While the language is based off on Java language,
+its syntax has been largely influenced by both Java and Javascript syntaxes. [See more here](https://processing.org/reference/)
+The language also comes with its official IDE to compile and run the scripts.
+
+```Processing
+// Single-line comment starts with //
+
+/*
+ Since Processing is based on Java the syntax for its comments are the same as Java (as you may have noticed above)!
+ Multi-line comments are wrapped around /* */
+*/
+
+// In Processing, your program's entry point is a function named setup() with a void return type.
+// Note! The syntax looks strikingly similar to that of C++
+void setup() {
+ // This prints out the classic output "Hello World!" to the console when run.
+ println("Hello World!"); // Another language with a semi-column trap, aint it?
+}
+
+```