Welcome to

Studentenleben

OMG WTF STFU PWN3D w00t

4×4x4 LED Matrix scripting language

February 18th, 2010 by stylesuxx

The Video can be found here => http://www.youtube.com/watch?v=UOqVnhznvs0

This is the first test of my scripting language for my 4×4x4 LED Cube. I’ve written a parser in Java which parses the “Script” to Assembler.

OK so now a quick overview about the “language”
First of all you give your new Programm a name and start it:

name {

then you set the time in 1/8 seconds how long the first  “picture” should be showed

time=2;

next you start the first picture

[

then come the Bits for each LED on each Layer, this may look something like this

(0000,
0110,
0110,
0000)
(0000,
1111,
1111,
0000)
(0000,
1111,
1111,
0000)
(0000,
0110,
0110,
0000)

and now you end the first picture

]

After this you can add more pictures, again starting with the time, if you are done, you close the programme.

}

And here comes the Listing with the programmes I’ve used in the vid:

alloff{
time=1;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
}

allon{
time=1;
[
(1111,
1111,
1111,
1111)
(1111,
1111,
1111,
1111)
(1111,
1111,
1111,
1111)
(1111,
1111,
1111,
1111)
]
}

smallsquares{
time=1;
[
(1100,
1100,
0000,
0000)
(0011,
0011,
0000,
0000)
(0000,
0000,
1100,
1100)
(0000,
0000,
0011,
0011)
]
}

Sec1{
time=8;
[
(1111,
1111,
1111,
1111)
(1111,
1111,
1111,
1111)
(1111,
1111,
1111,
1111)
(1111,
1111,
1111,
1111)
]
time=8;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
}

Sec05{
time=4;
[
(1111,
1111,
1111,
1111)
(1111,
1111,
1111,
1111)
(1111,
1111,
1111,
1111)
(1111,
1111,
1111,
1111)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
}

Sec025{
time=2;
[
(1111,
1111,
1111,
1111)
(1111,
1111,
1111,
1111)
(1111,
1111,
1111,
1111)
(1111,
1111,
1111,
1111)
]
time=2;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
}

blinkall05{
time=4;
[
(0001,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0010,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0100,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(1000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0001,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0010,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0100,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
1000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0001,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0010,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0100,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
1000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0001)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0010)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0100)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
1000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0001,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0010,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0100,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(1000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0001,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0010,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0100,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
1000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0001,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0010,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0100,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
1000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0001)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0010)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0100)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
1000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0001,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0010,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0100,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(1000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0001,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0010,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0100,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
1000,
0000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0001,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0010,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0100,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
1000,
0000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0001)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0010)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0100)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
1000)
(0000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0001,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0010,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0100,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(1000,
0000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0001,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0010,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0100,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
1000,
0000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0001,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0010,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0100,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
1000,
0000)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0001)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0010)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0100)
]
time=4;
[
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
0000)
(0000,
0000,
0000,
1000)
]
}

plus{
time=2;
[
(0000,
0110,
0110,
0000)
(0000,
1111,
1111,
0000)
(0000,
1111,
1111,
0000)
(0000,
0110,
0110,
0000)
]
time=2;
[
(0000,
0110,
0110,
0000)
(0110,
0110,
0110,
0110)
(0110,
0110,
0110,
0110)
(0000,
0110,
0110,
0000)
]
}


Posted in Allgemein | No Comments »

erster Post

October 10th, 2009 by stylesuxx

Wie bereits auf meinem alten Blog angekündigt => http://stylesuxx.twoday.net ist das nun der neue Blog. Neuer Lebensabschnitt, neuer Blog. So ist das eben. Vielleicht wäre im ersten Post mal ganz gut zu Brainstormen was ich mir von dem Blog erwarte bzw was euch erwartet.

Da ich, wie auch aus dem “About” zu entnehmen ist, gerade mit dem Informatik Studium begonnen habe möchte ich auf jeden Fall Schwerpunkt auf Themenbezogene Sachen legen, sowas wie:

  • besuchte Lehrveranstaltungen
  • weiterführende Links
  • Finanzielles
  • Uni leben allgemein
  • Sachbezogene Literaturempfehlungen
  • Termine die man nicht verpassen sollte

Weiters natürlich noch Sachen die jetzt nicht direkt mit dem Studium zu tun haben:

  • Meine Projekte
  • Meine Gedanken
  • Lustiges/Unlustiges

So das wars mal mit meinem 2:39am Brainstorm, ich bin mir sicher es ist nicht komplett, sollte aber auf jeden Fall mal eine Basis sein auf die man aufbauen kann.

So stay tuned…


Posted in Allgemein | No Comments »

copyright © 2oo6 by Studentenleben | Powered by Baywords

Ported by ThemePorter - template by Design4 | Sponsored by web hosting bluebook