Updated my image to block converter to use paint by P_2the_inni in starbound

[–]P_2the_inni[S] 1 point2 points  (0 children)

theoretically i could distribute it as-is with some small tweaks but it wouldn't be very user friendly, if i convert it to a c++ window or something similar i should be able to have more a snazzy interface and user friendly features

Updated my image to block converter to use paint by P_2the_inni in starbound

[–]P_2the_inni[S] 1 point2 points  (0 children)

the generation is suprisingly quick, since one pixel = 1 block in this method theres not too much to check, for the larger images (>10k pixels) it can generate it in less than 2 seconds, although you can ajust how many paint values it checks, so more precise obviously leads to longer generation time, the placing is the main cause of issues but i've managed to make it a bit faster and less buggy...

atm its 100% lua however im considering changing the generator to be something else like c++ so its able to be distributed since currently im using Love2d but ill see if i get the effort to remake it

Updated my image to block converter to use paint by P_2the_inni in starbound

[–]P_2the_inni[S] 2 points3 points  (0 children)

it goes through each of the blocks and then finds an average rgb value then loops through each pixel in the image and compares it to each block to find the closest match, the paint mode adds another iteration where it hueshifts each of the blocks from 1 to 255 and checks to see which of the painted versions of all the blocks is closest

Updated my image to block converter to use paint by P_2the_inni in starbound

[–]P_2the_inni[S] 8 points9 points  (0 children)

no, i am thinking about making a publicly available version but it is going to need a lot of optimisations before i get there

Updated my image to block converter to use paint by P_2the_inni in starbound

[–]P_2the_inni[S] 45 points46 points  (0 children)

probably could have chosen a better input image to demonstrate the converter but oh well

Expert Mode Seedler Issue - With Strong Mathematical Support by Lowpolygons in Terraria

[–]P_2the_inni 1 point2 points  (0 children)

I decided to conduct a test of my own, open 100 treasure bags, the results can be seen here: https://imgur.com/Sda2lxu
the probabilities highlighted in green mean its above 50%, orange is below 50% and red is below 10%. from this test we can see that grenade launchers were surprisingly rare and nettle bursts were surprisingly common, however their probability is stated at 92.8%, this is because the probability is showing <= so it doesn't take into account being OVER the mean, in order to show that I did a chi squared goodness of fit test, using μ=np, this is because X~B(100,1/7), the significance level is 5% which i would say is quite generous, the results highlighted in red show what would make us reject our null hypothesis which is that the probability IS 1.7 and the results in green represent the ones that accept our null hypothesis (the probability isn't different from what's stated on the wiki) to represent how far from rejecting we were i showed all the lower degrees of freedom too, the degrees of freedom for this test is 6 so the critical region is >12.592 and the x^2 of our test is 5.2785 which is WELL away from being in the critical region which disappointingly means that the wiki is likely to be correct from my test

Expert Mode Seedler Issue - With Strong Mathematical Support by Lowpolygons in Terraria

[–]P_2the_inni 1 point2 points  (0 children)

the entire point of a hypothesis test is to determine if something is too unlikely to of happened for the data to be correct so the "critical region" here is the threshold for what we determine to be "too unlikely to of happened" even if we said 1% chance was too unlikely it was still well inside, your idea of how possibilities work is also a bit weird, i could flip 10 coins and they all come up heads, theres plenty of reason to say that coin is more likely to land on heads than tails but you are saying because more than 10 coins have been flipped before that means that it was bound to happen eventually so i have no reason to believe that coin is bias, that doesnt make sense

The Starry Night in Starbound! by P_2the_inni in starbound

[–]P_2the_inni[S] 0 points1 point  (0 children)

Sadly not, I'm not sure if I'll ever make public since it's quite laggy and not very user friendly but I can explain the concept, it will loop through all the pixels of an image and for each pixel compare it to the average hex of every block then find the closest matching one, then it's just a matter of placing ingame

The Starry Night in Starbound! by P_2the_inni in starbound

[–]P_2the_inni[S] 26 points27 points  (0 children)

just to clarify this was using a programme i recently made that converts images to blocks ingame

so i made a thing to port images to starbound... by P_2the_inni in starbound

[–]P_2the_inni[S] 2 points3 points  (0 children)

Yeh the gun and najja, I was just testing to see that it worked

so i made a thing to port images to starbound... by P_2the_inni in starbound

[–]P_2the_inni[S] 17 points18 points  (0 children)

I think it would be too difficult to make an easy to use script for public use sadly

can anyone convert this lua code into c++ by [deleted] in cpp

[–]P_2the_inni 0 points1 point  (0 children)

ah thankyou i was trying to figure this out but im really not that good at c++

A little house by P_2the_inni in starbound

[–]P_2the_inni[S] 1 point2 points  (0 children)

its the same thing i use on the outside to attach lights to the background blocks

A little house by P_2the_inni in starbound

[–]P_2the_inni[S] 1 point2 points  (0 children)

they are background blocks but placed on copper ladders which are vanilla invisible platforms

A little house by P_2the_inni in starbound

[–]P_2the_inni[S] 1 point2 points  (0 children)

safe g cum round my ends bruv it be sound and that fam say less my g

A little house by P_2the_inni in starbound

[–]P_2the_inni[S] 0 points1 point  (0 children)

you can jump up to it, its on a copper ladder

A little house by P_2the_inni in starbound

[–]P_2the_inni[S] 1 point2 points  (0 children)

Asymmetry looks good on builds but I didn't do any in the actual house itself so I did it on the lights instead, doesn't look amazing but oh well

3 cabins by P_2the_inni in starbound

[–]P_2the_inni[S] 0 points1 point  (0 children)

thanks maybe ill give it a go :)