under development

Alas, we have no JavaScript

You don't seem to have any JavaScript. Please enable JavaScript to use this site's more advanced features.
This message may also appear if you are using an archaic browser. Please keep up to date for your own safety.

Displaying code on the web can be difficult especially when dealing with content mangament systems. This applet formats code into valid html to be displayed on the web and adds customizable syntax highlighting to make your code more readable. It currently handles Processing, Arduino, HTML, and CSS but more languages will be added.

Paste your code below or preview some sample code.

insert sample code
customize

options & font preferences


    these are some aforementioned advanced features which require JavaScript.


  • Color Sets:
  • Default #EAEEEF #2D3233 #808384 #7F4C22 #126A89 #104D5B #E7F1F2 #D3DBDD #808384 #BBC2C4
  • Processing #FFFFFF #000000 #7E7E7E #CC6600 #006699 #4A545E #FFFFFF #E2E2E2 #7E7E7E #CBCBCB
  • Arduino #FFFFFF #000000 #777755 #996600 #CC0000 #044F6F #FFFFFF #DDDDBB #777755 #CACAAA
  • Clean #FFFFFF #000000 #A8A8A8 #A33D05 #006A8F #EDEDED #4F4F4F #FFFFFF #D1D1D1 #EDEDED

code:







header:




line #'s:





formatting preview

processing codeSample Code

01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* comment */
/* arduino synth interface
 anthony mattox www.anthonymattox.com */

import processing.serial.*;
Serial port;

slider[] Wave=new slider[32];
Set melBars;
void setup() {
  size(1200,800);
  noStroke();
  noFill();
  smooth();
  // create waveform sliders
  for(int i=0; i<Wave.length; i++) {
    Wave[i]=new slider(i*31+125, 100, 255, color(0));
  }
  // create instance of sequencer set, parameter is # of notes
  melBars=new Set(17);
  
  PFont font;
  // hooray Gotham, youll need to add your own font file
  //   tools>create font, add your file name below
  font = loadFont("Gotham-Light-30.vlw");
  textFont(font); 
  
  // set up serial port
  println("Available serial ports:");
  println(Serial.list());
  port = new Serial(this, Serial.list()[0], 9600);
}