Pixilang
|
Pixilang
An editor has expressed a concern that the subject of the article does not satisfy the notability guideline or one of the following guidelines for inclusion on Wikipedia: Biographies, Books, Companies, Fiction, Music, Neologisms, Numbers, Web content, or several proposals for new guidelines.
If you are familiar with the subject matter, please expand the article to establish its notability. The best way to address this concern is to reference published, third-party sources about the subject. If notability cannot be established, the article is more likely to be considered for deletion, per Wikipedia:Guide to deletion. (See also Wikipedia:Notability)
This article has been tagged since February 2007.
This article or section does not adequately cite its references or sources.
Please help improve this article by adding citations to reliable sources. (help, get involved!)
Any unsourced material that has been or is likely to be challenged may be removed at any time. This article has been tagged since February 2007.
Pixilang — pixel-oriented programming language
Pixilang logo
Pixilang is a result of joint brainstorm of outumn 2006 :) Simple programming language for small graphics applications. It was created (by Alex Zolotov (NightRadio) [1] and Mik Razuvaev (Goglus)) specially for non-programmers, demosceners and designers. Any pixilang programs are keeps in a TXT-files, so you can edit it in your lovely text-editor. Pixilang interpreter works in the Windows, Linux and PalmOS at the moment. And it is fully open source (GNU GPL) project
Features
crossplatform working;
easy syntax and small amount of commands;
universal containers (pixi) using for text/gfx storage;
pixel graphics describing in a source TXT-files directly (using ASCII symbols);
transparency (simple and with alpha-channel);
simple commands for rotation and resize;
no floating point math operations - only 32bit integers are using;
playing music in MOD and XM formats (using PsyTexx engine);
loading GIF (animated) and JPG file formats;
realtime export to GIF;
Technical details
Pixilang - interpreter with byte-code generation. Source TXT-file can be loaded from boot.txt (if it exist) automatically or manually by user.
Base thing in the Pixilang is a pixi-container. Pixi-container can contain text-string, image, link to alpha-channel pixi-container, numeric array. You can use different pixi-containers as simple arrays. Remember, that in Pixilang "image", "text-string", "numeric array" are ID-numbers: image - ID-number of pixi-container with image; text-string - ID-number of pixi-container with text-string; numeric array - ID-number of pixi-container with numeric array. Example:
//How to access a second pixel in some image?
pixel_value = some_image[ 2 ]
Getting started. Your first program
Open your lovely text editor and create new file with following content:
Pixilang example 01
//Simple anim example
//Save color #003050 to variable o
o = #003050
//Describe animated image (pixi):
logo = "
.o...ooo...o.
..o..o.o..o..
...ooooooo...
...ooooooo...
.ooooooooooo.
.o.ooooooo.o.
oo.........oo
+
.o...ooo...o.
..o..o.o..o..
...ooo.ooo...
...ooooooo...
.ooooooooooo.
.o.ooooooo.o.
oo.........oo
"
//Convert this image from text form to graphics:
make_pixi( logo )
//Set variable with zoom factor:
zm = 20
start:
transp( 64 ) //Set transparency 64
clear( #FFFFFF ) //Clear screen
transp( 256 ) //Set transparency 256
pixi( logo, 0, 0, zm ) //Draw image "logo" with coordinates 0,0 and zoom factor "zm"
zm - 1 //Decrement zoom factor
frame( 100 ) //Redraw screen and wait 100 milliseconds
go start //Go to start
Now run pixilang and select created TXT file.
To do
more pixel correction while image transformations;
music and sound creation unsing pixi-containers;
working with a custom binary files;
loop operators;
3D pixels.
more information - http://en.wikipedia.org/wiki/Pixilang > Pancho - (pancho@alezar.ru)
|
|
|
PycckaR BepcuR
Articles

Library

Downloads

|