• Astrophotography post processing with GIMP

    I finally found some time to look into post processing on my tries in Astrophotography. Since i have still a lot to learn and didn’t want to spend a lot of money i choose GIMP. First because it’s free and second because i already know how to use it from other projects. Since i hadn’t much time and the weather was cloudy i used my old picture from 2022.

    Two pictures of the moon. Left side is very bright, and a little bit blurry. Right side after processing, the details on the surface are much more visible, especially in the "mare" regions.
    Moon-2022 processing comparison

    The final result (right side) is a clear improvement from the original (left side).
    First i reduced the shadows and highlights, to get rid of the blur and make the features more visible in the exposed parts. Then i added a little bit more contrast to the picture and in the end i put the sharpen(unsharp mask) filter on top of the image. I am surprised how a picture can get enhanced with just some simple steps. I hope i can put my new knowledge to use for something i plan this August.


  • Generating Names

    Since i first started developing things, i was fascinated with random name generators, but never had any real application for it. Until i developed my Pen & Paper Village Generator.

    The easy way

    The easiest way is to work with two lists of predetermined names. One for first and the other for last names.

    IDfirstlast
    1ThorinWildaxe
    2BalinWhitebeard
    3DwalinUnderhill
    4OinOakenshield
    5GloinStonefall
    6DoriStoneskin
    7OriGrimface
    8NoriStronghand
    9Ori
    Two lists of dwarfen first and last names.

    Now you generate a random number between 1 and how many entries the list „first“ has, and pick the corresponding name. Then you do the same with the second list, and combine these two names. The code would look something like this:

    function randnumber(min, max) {
    	return Math.floor(Math.random() * (max - min + 1)) + min;
    }
    let dwarfname = data["first"][randnumber(1,Object.keys(data["first"]).length)] +
    data["last"][randnumber(1,Object.keys(data["last"]).length)];

    Now you have a generator for dwarfen names. This is how the Fantasy Name Generator by Emily works. With the list above you get 72 unique names. But 72 is not that many names. You will see a lot of reiterating names even if you extend the list.

    Generating one letter at the time

    This solution gives you random names, without providing a template. But they are less specific on a race or gender.

    const vocals = ["a", "e", "i", "o", "u"]; //defines the vocals.
    const consonants = ["w", "r", "t", "z", "p", "s", "d", "f", "g", "h", "j", "k", "l", "c", "v", "b", "n", "m"]; //defines the consonants except Q,X,Y,
    function GenerateRandomName(){
    	let lenght = randnumber(3,8); //defines the length of the name
    	let name = "";
    	for ( let i = 1; i <= lenght; i++){
    		let lastchar = name.charAt(name.length - 1) //outputs the last charakter in the name
    		if (consonants.includes(lastchar)) { //checks if the last letter was a consonant
    			name = name + vocals[randnumber(0,vocals.length -1)]; //pushes a vocal into the name
    		}else{
    			name = name + consonants[randnumber(0,consonants.length -1)]; //pushes a consonant into the name
    		}
    	}
    	return name.charAt(0).toUpperCase() + name.slice(1); //makes the first letter uppercase
    }

    After it has decided how long the name should be, the program will pick either a random vocal or a random consonant. Before picking the next letter it checks if the last letter was a consonant. If so the next letter must be a vocal. After a vocal must follow a consonant. This is to prevent non pronounceable letter strings like „kzpg“ or „iiie“. Switching between vocals and consonants makes the Names more pronounceable. For this reason i haven’t included the letters Q, X and Y in the consonant array. This will output funny names like: „Desali“ or „Nejinow“, perfect if you need a stupid name for an NPC.

    Combining the two methods

    If you combine these two methods you get a solid name generator. For example the first name is generated by a list, but the last name is generated letter by letter. This will give you a name that sounds dwarfen, but if you need several names for a town with multiple dwarfs you don’t end up with NPCs with the same name. This improves if you choos at random if the first or the last name is generated letter by letter.


  • First try with Astrophotography

    The Moon on the 2022-06-19

    The first try to photograph the moon with my old 70mm refractor telescope with a 700mm focal length through my Samsung Galaxy S22 phone. The image is mirrored and has not been edited.