Random/algorithm-generated images thread.
>>45152171
i know who you are
Chaotic, not random.
>>45152179
You're a creepy motherfucker
>>45152179
Who am I?
>>45152171
How do I into this?
Keywords, tuts, etc
>inb4 google
>>45152208
Fuck off, Joe.
>>45152221
>learn programming language
>fuck around with its random class
>>45152233
so i.e. png header and then a shitload of random bytes?
>open this image in image viewer
>stand up and listen closely behind your monitor while you zoom in and out with your scroll wheel
>>45152226
I fucking hate you Andy
>>45152171
I'll throw in some perlin noise I've been playing with.
>>45152261
dont do this it creates mustard gas
>>45152226
.............................tom?
>>45152282
Hi brother
>>45152226
>>45152267
>>45152282
>>45152305
hahaha so funny guys +1
>>45152254
completely random will just create boring static, you need to influence the seed with an algorithm
>>45152226
are you from canada?? cos if so i think i know you
>>45152261
what the living fuck, nigger?
the simplest algorithm creates the best art
>>45152342
as in im joe and ive been making random images, not op though
>>45152226
>>45152343
http://dagobah.net/flash/stepping_on_insanity.swf
>>45152305
are you the tom from that shop? i thought i never told you my name
>>45152492
/thread
math.log is one hell of a drug.
What language are you using for these?
>>45152680
I'm using .net's random-class.
>>45152269
This is beautiful, mind throwing up a pastebin of the source?
>>45153532
sure, http://pastebin.com/6xxhvZMN
>>45152670
Ah, source for this one? Algorithm?
>>45154125
cos(x) + sin(y)
Its a bug, but looks cool anyway.
this stuff is neat. could anyone briefly summarize how these are rendered?
>>45155364
Basically iterate through every pixel, and call a function to set it's colour, then save it to an image.
>>45153655
has a pastebin with some JS if you want to see how he does it.
>>45152171
>sudo chmod 777 /dev/fb0
>cat /dev/urandom > /dev/fb0
can't get more random generated than that
>>45152254
Thats not how PNG files work.
>>45155654
>PNG
>not glorified 24BPP BMP
How do you guys do this?
Like i no how to generate randomnes but how do you do it so that it has some cool pattern to it?
>>45155668
be at least as non-retarded as the average MENSA member and it'll all click
otherwise kill yourself
>>45155660
PNG's are loslessly compressed you fucking idiot.
>>45155679
PNGs cant be mapped to graphics devices you fucking imbicile
you should be fucking ashamed of yourself
>>45155690
>PNGs cant be mapped to graphics devices you fucking imbicile
When the fuck did i say that they could?
Ofcourse they can't.
Hey, awesome! I was just stopping by to ask the Stupid Questions Thread how to create an image from an algorithm.
So, how are these made? (The non-random ones specifically; I'm trying to find a way to create a batch of images from some passed flags; I'm creating video title screens for a bunch of videos, and manually creating the pics is a pain)
Thanks!
This is an algorithm-generated image
What library are you guys using the output the images?
Are you just writing to bitmaps and converting them to png?
>>45155895
>>45155601 is done using .net's system.drawing.bitmap class
How about some fractals.
Here's a Mandelbar fractal I made a while back.
>>45155921
Fractals are faggot shit
This guy has some neat imagery
http://www.adamferriss.com/index.php/code/quicksort/
>>45155921
Burning ship
>>45155921
anti-buddhabrot
>>45155939
>>45155930
>>45155921
breddy god colours, frien
I think these would look a lot nicer with anti-alliacing
>>45155736
post source code?
>>45156578
proprietary, patented by Time Warner
>>45152261
I didn't even need to zoom to hear that, my monitor immediately made a 10db noise when I opened it
what the shit
>>45152261
didn't do shit
>mfw monitor is invincible
It's like Earthbound backgrounds.
>>45156701
is this the commet landing?
>>45156725
No, that one failed
>>45156714
new wallpaper
>>45155334
Andy Warhol would be proud anon
>>45152261
does this only work against IPS plebs?
I didn't hear shit
hello /g/, http://sourceforge.net/projects/imgfun/ creator here, i think i will try OpenCL.NET or multithreading today when i come home and alao get rid of proprietary math interpreter and compile C# code on the fly and use it to computevalues, also, maybe try to use ffmpeg to create webms
>>45156794
What the actual fuck are you on about
>>45156794
.net 5 will add simd, maybe that will be interesting.
>>45156802
cool
last time i tried OpenCL.NET it crashed my gpu driver and went slower then on cpu
i need to learn to write those kernel files
>>45156802
oh so this simd thing automagicaly does math on multicores cool
i found something called Yeeep! and i think i will use it because graphs looked good
>>45156714
this is an amazing wallpaper
Are you guys using OpenGL
>>45156957
maybe, why do you ask?
>>45156714
Sadly I've forgotten how I generated it. Otherwise I'd generate a higher res one. It was a rather complicated input...
It seems I have made a cloud texture generator
>>45155939
Awesome, thanks!
>>45156714
1000 hours in ms paint
>>45157321
Easy reverse engineering.
http://fiddle.jshell.net/nw0h7ey8/show/
>>45157974
>>45156714
>>45155939
I-Is there a math algorithm art out there?
>>45155930
>>45158990
here's code, save as .svg and enjoy<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" id="s" width="1920px" height="1080px">
<linearGradient id="blueBg" x1="0%" y1="0%" x2="0%" y2="100%">
<stop offset="0%" style="stop-color:#000000;stop-opacity:1" />
<stop offset="100%" style="stop-color:#7efcfc;stop-opacity:1" />
</linearGradient>
<linearGradient id="redBg" x1="0%" y1="0%" x2="0%" y2="100%">
<stop offset="0%" style="stop-color:#800000;stop-opacity:1" />
<stop offset="100%" style="stop-color:#fffefe;stop-opacity:1" />
</linearGradient>
<script><![CDATA[
var svg = document.getElementById('s');
function rect(params) {
var svgNS = "http://www.w3.org/2000/svg";
var rect = document.createElementNS(svgNS, 'rect');
rect.setAttribute('x', params.x);
rect.setAttribute('y', params.y);
rect.setAttribute('width', params.w);
rect.setAttribute('height', params.h);
rect.setAttribute('fill', 'url(#' + params.bg + ')');
return rect;
}
var halfStep = 17,
mod = 22,
mul = 15;
var width = svg.offsetWidth,
height = svg.offsetHeight,
scale = 1;
for (var x = 0; x < width; x++) {
var group = (x * mul) % mod;
var startx = group * mod * mod;
var h = (Math.floor(Math.abs(x - startx) / mod) * 2 + 1) * halfStep;
var b = true;
for (var y = 0; h > 2 && y*scale < height; y += h, b=!b) {
svg.appendChild(rect({x:x*scale,y:y*scale,w:1,h:h,bg:b?'blueBg':'redBg'}));
}
}
]]></script>
</svg>
how do i into this shit with C
>>45155649
Oh god what would that do
>>45159087
Allow anyone to write onto framebuffer and write random colors onto your framebuffer (kind of a graphics buffer in linux, when doing console stuff).
>>45155921
http://a.pomf.se/xdkgqe.png
http://a.pomf.se/frbuwh.png
Chaos-Game.
I made an interactive version with c++/sfml. It was pretty easy to implement.
>>45152261
The joke's on you, my IPS monitor already makes noises when there's (nearly) full screen black text on white background (e.g. Wikipedia articles).
>>45159113
Welp, trying that on a VM
>>45152261
Depends if your monitor has coil whine or not.
Mine is nice and silent! :P
Here is a program I made to generate images like this.
https://github.com/diantahoc/RandomIG
Don't remember the algos for these, the third one might be X ^ Y or X | Y
I just remembered I made a bunch of gifs as well and uploaded them on my imgur.
4chan thinks half of them have 'malicious code' in them
>>45159392
Scratch that, about 99% of them
>>45155731
Loop through every pixel and define a new random class each time, and give it a custom seed involving a mathematical formula including the x and y coordinates in some way.
This way you influence the choice of pixelcolor depending on the pixels location.
>>45159308
how do I make the program understand formulas input from strings?
>>45159314
Looks like y * x
>>45159358
Did you make that? If not I think I made it.
>>45159392
You generated viruses anon.
yay this threads' still going :D
>>45159590
I don't know, this is why I use bcParser.NET
>>45159632
MY EYES
>>45159632
eye rape aside, that looks really neat
>>45159632
This is epilepsy inducing lel
>>45159640
Why isn't there an open source version?
>>45159632
formula?
>>45153487
this in 1920x0180?
>>45159691
I was wondering the same.
>>45152269
Nigga, that's some wallpaper material
>>45159704
>>45159691
The internet is full of open source expression evaluators for any programming language that exists. Why bother with something you have to pay to use?
>>45159781
>implying I paid for it
>what is .net decompilers
;^)
>>45155925
This is sweet as a nut. Like some leafy digital Adriatic coast line
>>45152171
What kind of function should i use for drawing according to a mathematical formula?