[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Random/algorithm-generated images thread.

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 122
Thread images: 37

File: image2.png (214KB, 1000x1000px) Image search: [Google]
image2.png
214KB, 1000x1000px
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.
>>
File: image1.png (304KB, 1000x1000px) Image search: [Google]
image1.png
304KB, 1000x1000px
>>45152221
>learn programming language
>fuck around with its random class
>>
>>45152233
so i.e. png header and then a shitload of random bytes?
>>
File: monitor noise.png (8KB, 1000x1000px) Image search: [Google]
monitor noise.png
8KB, 1000x1000px
>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
>>
File: noise.png (3MB, 2560x1600px) Image search: [Google]
noise.png
3MB, 2560x1600px
>>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?
>>
File: image1.png (169KB, 1000x1000px) Image search: [Google]
image1.png
169KB, 1000x1000px
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
>>
File: image2.png (554KB, 1920x1080px) Image search: [Google]
image2.png
554KB, 1920x1080px
>>
File: primes.png (150KB, 1000x1000px) Image search: [Google]
primes.png
150KB, 1000x1000px
>>
>>45152492
/thread
>>
File: image1.png (295KB, 1000x1000px) Image search: [Google]
image1.png
295KB, 1000x1000px
>>
File: image1.png (273KB, 1000x1000px) Image search: [Google]
image1.png
273KB, 1000x1000px
math.log is one hell of a drug.
>>
File: image1.png (166KB, 1000x1000px) Image search: [Google]
image1.png
166KB, 1000x1000px
>>
File: image1.png (211KB, 1000x1000px) Image search: [Google]
image1.png
211KB, 1000x1000px
>>
What language are you using for these?
>>
File: image1.png (148KB, 1000x1000px) Image search: [Google]
image1.png
148KB, 1000x1000px
>>45152680
I'm using .net's random-class.
>>
File: image1.png (206KB, 1000x1000px) Image search: [Google]
image1.png
206KB, 1000x1000px
>>
File: img.jpg (204KB, 1118x629px) Image search: [Google]
img.jpg
204KB, 1118x629px
>>
>>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)
>>
File: out.png (111KB, 1000x1000px) Image search: [Google]
out.png
111KB, 1000x1000px
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.
>>
File: DBQoXUV.png (238KB, 1500x822px) Image search: [Google]
DBQoXUV.png
238KB, 1500x822px
>>
File: voronoimap1.png (410KB, 5616x2160px) Image search: [Google]
voronoimap1.png
410KB, 5616x2160px
>>
>>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!
>>
File: 1315454181825.gif (857KB, 245x245px) Image search: [Google]
1315454181825.gif
857KB, 245x245px
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
>>
File: d3i6exv.jpg (2MB, 2000x2000px) Image search: [Google]
d3i6exv.jpg
2MB, 2000x2000px
How about some fractals.

Here's a Mandelbar fractal I made a while back.
>>
>>45155921
Fractals are faggot shit
>>
File: quicksort.png (2MB, 1274x954px) Image search: [Google]
quicksort.png
2MB, 1274x954px
This guy has some neat imagery
http://www.adamferriss.com/index.php/code/quicksort/
>>
File: d6l33fd.jpg (532KB, 2000x2000px) Image search: [Google]
d6l33fd.jpg
532KB, 2000x2000px
>>45155921
Burning ship
>>
File: d3i198h.jpg (4MB, 5000x5000px) Image search: [Google]
d3i198h.jpg
4MB, 5000x5000px
>>45155921
anti-buddhabrot
>>
File: 1412992971525.png (106KB, 922x882px) Image search: [Google]
1412992971525.png
106KB, 922x882px
>>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
>>
File: out.jpg (504KB, 800x618px) Image search: [Google]
out.jpg
504KB, 800x618px
>>
File: out.png (379KB, 1901x951px) Image search: [Google]
out.png
379KB, 1901x951px
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...
>>
File: out.png (2MB, 1024x1024px) Image search: [Google]
out.png
2MB, 1024x1024px
It seems I have made a cloud texture generator
>>
File: wp_ss_20141114_0001.png (2MB, 1080x1920px) Image search: [Google]
wp_ss_20141114_0001.png
2MB, 1080x1920px
>>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
>>
File: vlines.png (1MB, 1920x1080px) Image search: [Google]
vlines.png
1MB, 1920x1080px
>>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
>>
File: ig.png (550KB, 1077x749px) Image search: [Google]
ig.png
550KB, 1077x749px
Here is a program I made to generate images like this.

https://github.com/diantahoc/RandomIG
>>
File: 1.png (411B, 500x500px) Image search: [Google]
1.png
411B, 500x500px
Don't remember the algos for these, the third one might be X ^ Y or X | Y
>>
File: 2.png (7KB, 500x500px) Image search: [Google]
2.png
7KB, 500x500px
>>
File: 3.png (1KB, 500x500px) Image search: [Google]
3.png
1KB, 500x500px
>>
File: n63k02z.gif (1MB, 500x500px) Image search: [Google]
n63k02z.gif
1MB, 500x500px
I just remembered I made a bunch of gifs as well and uploaded them on my imgur.
>>
File: T8ZdhLu.png (7KB, 500x500px) Image search: [Google]
T8ZdhLu.png
7KB, 500x500px
>>
File: STGJ4Qo.png (56KB, 500x500px) Image search: [Google]
STGJ4Qo.png
56KB, 500x500px
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.
>>
File: wat.png (4MB, 2560x1600px) Image search: [Google]
wat.png
4MB, 2560x1600px
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?
Thread posts: 122
Thread images: 37


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.