peter nitsch.net

peternitsch.net

Speaking at Notacon 7

Blockparty Invitation

If you’re in or around Cleveland next weekend stop by Notacon, an annual hacker conference with a creative twist. In their words, it “explores and showcases technologies, philosophy and creativity often overlooked at many hacker cons”. I’ll be giving a talk about my experimental work in Flash with a focus on Alchemy. Notacon is also the venue for Blockparty, a North American demo party organized by Jason Scott and Christian Wirth (RaD-Man). I worked with Jac from Evoflash and musician Coda to build this years invitation for the party. Should be a great time!

Check out the invitation.
Note: All effects are real-time, so this is best viewed using the latest build of Flash Player 10.1.

ASCIImeo, Videos in Text

ASCIImeo

Today I finally launched ASCIImeo (asciimeo.com), a personal project I’ve been working on irregularly for the past few months. In a nutshell, it renders Vimeo videos in different textmode’s. I hope everyone enjoy’s the site; it’s simple and generally useless, but a ton of fun to explore. I’d love to hear your feedback, rants, and bug reports (I was after all the only person working on this).

Read the rest of this entry »

Raytracing Wada basins in Flash

Wada basins
Check it out!
Source code

Getting into the Christmas spirit, I thought I’d play around with raytracing reflective spheres to produce the fractal known as Wada basins. It’s an old technique that can be easily reproduced physically by using four mirrored Christmas ornaments stacked in a pyramid. To be honest, the idea came from seeing the mirrorball Ralph picked up to use as a lightmap for Triangle3D.

Read the rest of this entry »

Serious bug with Alchemy strings

broken string

Amid the discussion caused by my memory allocation problem on the Adobe Alchemy forum (which I summarized in a previous post), it was confirmed by Cod3 Monk3y, Inc. that std::string is broken in Alchemy. Specifically, the copy constructor does not seem to be functioning properly resulting in very unusual behaviour and rendering the class unusable. This is very bad news for developers like myself who have plans on porting C++ libraries over to Flash, and certainly throws a wrench in my hopes of seeing an online version of ASCIIpOrtal.

Read the rest of this entry »

Memory allocation issues with C++ and Alchemy

Not being a seasoned C++ programmer by any stretch of the imagination, I've run into several problems compiling Alchemy projects since it first debuted. Most of the issues were related to my poor understanding of the language, but some point to problems with the compiler. In particular, there seems to be an issue with memory allocation of non-pointer data types, such as the std::vector. I've run into this problem again while trying to port ASCIIpOrtal, and it's causing frequent hair pulling. Hopefully someone much smarter than me can point to a solution.

Here's a simplified example of what I'm trying to do:

CODE:
  1. stringstream mapfile(sfile); //sfile is a std::string
  2. vector<vector <string>> rawmaps;
  3. vector<string> map;
  4.  
  5. while (! mapfile.eof() ) {
  6.      string line;
  7.      getline (mapfile, line, '\n');
  8.      map.push_back(line);
  9. }
  10.  
  11. rawmaps.push_back(map);

Read the rest of this entry »