Monthly Archives: January 2014

class MakeScreenImage – the code

class MakeScreenImage{   Vector[] mappedVectors; // needs our improved class Vector       MakeScreenImage(){   }      //  often images result from two steps: first a transformation maps the pixel position    Vector mapVector(float i,float j){    Vector … Continue reading

Posted in programming | Tagged , | Leave a comment

Fast images with the class MakeScreenImage

We can create high quality image files of high-resolution using cubic pixel interpolation and anti-aliasing as discussed in “Interpolation of pixels” and “Smoothing and anti-aliasing“. But this takes a lot of time and is not suitable for on-screen images. Instead … Continue reading

Posted in programming | Tagged | Leave a comment

two circles

Lately I have played around with inversion at circles trying to find some new kind of fractals. Thus I found a simple mapping that gives interesting designs. They are not fractal, instead overlapping circles appear. Inversion at a single circle … Continue reading

Posted in Extra, Fractals | Tagged , , , , , , | Leave a comment

class MakeOutputImage – the code

//  this class is a framework for generating output images //needs the class ProgressReport class MakeOutputImage{   ProgressReport progress;   PImage thisImage;   int thisWidth, thisHeight;   int rot,gruen,blau;   int startTime,lastTime;     int[] inRed,inGreen,inBlue;   int[] redPlus,redZero,redMinus;   … Continue reading

Posted in programming | Tagged , , , , | Leave a comment

class MakeOutputImage with anti-aliasing

In the earlier post “Smoothing and anti-aliasing” I discussed how to smooth images and reduce aliasing.This is an important part of the class MakeOutputImage. This class is rather a template for programming and not a finished module. You find its … Continue reading

Posted in Extra, programming | Tagged , , , , | Leave a comment

class ProgressReport – the code

class ProgressReport{   int startTime,lastTime,end;   String message;     ProgressReport(int e,String m){    // task goes from 0 to e, m is a message   end=e;   message=m;   }     void reset(){     startTime=millis();     lastTime=startTime;   } … Continue reading

Posted in programming | Tagged , | Leave a comment

The class ProgressReport

This is nothing great, just one of my little helpers. It may take a lot of time to make a high resolution output image of say 6000×6000 pixels with anti-aliasing and cubic interpolation. Then we need some information on the … Continue reading

Posted in programming | Tagged , | Leave a comment