Running IBNIZ, realtime audiovisualizer on Mac Os X

December 25, 2011 2 comments

Here is something very cool: http://pelulamu.net/ibniz/

It is a realtime, compact 8-bit style audiovisualizer that has it’s own virtual machine and language to input code into. It can produce very nice demoeffects using only a minimal set of commands, check out the example video:

How to get the source code up and running on Mac Os X (tested w/ 10.6) ?

* Download and install XCode if you already haven’t done this)

* Install MacPorts: http://www.macports.org/install.php

Then run

sudo port install libsdl-framework

Command from the terminal to install the SDL development framework.

Grab the sources for Ibniz, untar, cd, and run make to compile.

sakari@iViper:ttys003:tmp$ curl -o ibniz-1.0.tar.gz http://pelulamu.net/ibniz/ibniz-1.0.tar.gz
 % Total % Received % Xferd Average Speed Time Time Time Current
 Dload Upload Total Spent Left Speed
100 19654 100 19654 0 0 7229 0 0:00:02 0:00:02 --:--:-- 24085
sakari@iViper:ttys003:tmp$ tar zxvf ibniz-1.0.tar.gz
x ibniz-1.0/
x ibniz-1.0/ibniz.txt
x ibniz-1.0/Makefile
x ibniz-1.0/licence.txt
x ibniz-1.0/vm_slow.c
x ibniz-1.0/vm.h
x ibniz-1.0/font.pl
x ibniz-1.0/font.i
x ibniz-1.0/ui_sdl.c
x ibniz-1.0/examples.ib
x ibniz-1.0/ibniz.h
x ibniz-1.0/vm_test.c
sakari@iViper:ttys003:tmp$ cd ibniz-1.0
sakari@iViper:ttys003:ibniz-1.0$ make
gcc -c -Os ui_sdl.c -o ui_sdl.o `sdl-config --libs --cflags`
i686-apple-darwin10-gcc-4.2.1: -lSDLmain: linker input file unused because linking not done
i686-apple-darwin10-gcc-4.2.1: -lSDL: linker input file unused because linking not done
i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused because linking not done
i686-apple-darwin10-gcc-4.2.1: Cocoa: linker input file unused because linking not done
gcc -c -O3 vm_slow.c -o vm_slow.o
gcc -s -Os ui_sdl.o vm_slow.o -o ibniz `sdl-config --libs --cflags` -lm
ld: warning: option -s is obsolete and being ignored
sakari@iViper:ttys003:ibniz-1.0$ ./ibniz

I noticed that I have to modify the getticks() function in ui_sdl.c in order to get usable framerates:

int getticks()
{
  if(!ui.opt_nonrealtime)
    return SDL_GetTicks()/3;
  else
  {
    return dumper.framecount*50/3;
  }
}

Dividing by three seems to do the trick, without it the frames start skipping too much for some reason.

I hope to integrate GeoKone scene loading into this, that would be very cool as all the GeoKone formations can be expressed in 1-2 lines of code and with a very simple core engine that reads the data.

I will be hacking on this thing for a while. Thanks Viznut for this great christmas toy :)

First Public release of GeoKone, sacred geometry generator! Check out http://GeoKone.NET !

November 20, 2011 11 comments

Whew, it has been hectic. All the coding, making visuals for TAWA, partying (Astral Projection, Astrix & Skazi yesterday, whew!) has really been awesome but at the same time very demanding.

But finally (or over a week now, released on 11.11.11) there is a public version of GeoKone in action at http://GeoKone.NET :) It is still a public BETA version, some features are still incomplete (I have only 10 fingers, at least for now) so please try it out and see what you think :) Any feedback is appreciated. I will try to make it easy to send feedback as soon as some of the more core features are in place that I have been planning.

http://GeoKone.NET

http://GeoKone.NET

 

Check out the Facebook Page for some cool new images generated with GeoKone! And Like the page if you like this kinda stuff, thanks! :) Go to http://GeoKone.NET, Sign Up for an account at the link on the top right of the screen and start generating some funky stuff!

 

A really good primer on Sacred Geometry – Unity Of Geometry

November 8, 2011 1 comment

A very nice primer and in-depth visual explanation of what are the primary building blocks behind Sacred Geometry:

Unity of Geometry – Johnathan Quintin from Our Shift on Vimeo.

This video illustrates very visually how the most basic bulding blocks of Sacred Geometry (and at the same time the construct of our Universe) are built and what relations these different forms have with each other. For the first time I actually now understood where the term “square root” comes from, where as in school where I learned it first, I just knew what to do with it and where, but I did not really understand what it meant.

Same thing with Pi, but that is another story, the Pi one I realized a long time ago that the symbol for Pi illustrates the length of one wave, and the symbol visually represents exactly this:

Pi Symbol Meaning

Pi Symbol Meaning

At least for me this visual understanding of the symbol Pi helped me understand the context where it was used very much and I could apply the concepts around it easily to other places where the Pi and other sin,cos,tan etc functions are used.

Dunno, maybe everyone else understood at school the way we were taught, I at least didn’t, because all that is taught are the equations, names of symbols and all the external elements of what these things are and forgetting to focus on teaching what concepts they hold and how to apply them, naturally without having to remember long equations by memory.

Fresh GeoKone Generated Sacred Geometry – Check out Facebook page for more images also!

November 2, 2011 Leave a comment
http://geoKone.net

11.11.11

I’ve heard rumours that having a Facebook page is a good thing. So, if you like GeoKone (I’m a bit early here, wait until 11.11.11 for the public beta, but if you like the idea) or the images you see here, please check out our Facebook page.

Press Like and I will post Sacred Geometry into your news feed, bringing good energies to you :)

Actually Here are a couple of samples of what kind of stuff has come out of my engine during the development:

Visual Illusion

Nice Visual Illusion happening here, brain puts together the missing lines between the spheres

Rolling Swastika

Rolling Swastika - Interesting finding, many similar symbols in one geometric shape, the David's Star, The Swastika, The Staring Eye Inside The Pyramid

3DPyramidBeing

The Sierpinski Pyramids - With Some Soul Included. Pure Computer Generated Images are usually boring, as there is no intelligent creator involved beyond the logics of the programming. With GeoKone, there is both. The Artist can express himself through technical accuracy, but with the touches only an living being can add.

Binary Code

This was an interesting discovery, I accidentally set the number of fixed child points to 1.5, and I discovered binary fractal patterns can be drawn with setting the number of points to 3 to form a triangle and then set child recursion, creating these triangle rows of lines .. hmm I wonder if one could program the IChing TriGrams with this system .. Adding it to the TODO list :D

Copying is Easy

It is now easy to copy all the selected polyforms, allowing more complex scenes to be created more easily.

Fractal Binary Tower, click for full size

Fractal Binary Tower, click for full size. This looks almost Chinese in some way. Those cloud looking things are Binary Fractals.

Copy Test 1

These are just a small sampling of the different styles that can be already achieved. I have some crazy stuff also made from these, but I will have to wait until 11.11.11 to maybe show some samples of it, as we are using this stuff in our TAWA ceremony also, and it is kinda sacred until shown to the public.

Oh yeah, I tried playing around more with those binary shapes, here is a couple of screenshots of the actual UI too as it is now:

Testing out the Binary Patterns

Building A Scenery - Just for fun :) The Fractal Line pattern is very interesting indeed. Compressed, the parameters needed for this scene take about 9 kilobytes, uncompressed about 150 kilobytes as the data is saved polyform by polyform, saving each parameter value for each.

Follow

Get every new post delivered to your Inbox.

Join 25 other followers