I've actually learned a lot about creating better genetic algorithms from my research into emergence, there's a natural structure to populations of tightly connected groups with looser connections between them (a scale-free/small world network)
If you keep your populations organized and breeding like this (with tighter but more disconnected groups) there will be trends in different directions in each of those small populations, and when the smaller groups intermingle it will lead to better improvement of the species as a whole because they exchange their more specialized mutations
This is because you aren't confining the population's distribution in the solution space to a spherical blob, when they're isolated the population can bend around search through the space in multiple directions at once. Or in other words, it reduces the degrees of freedom temporarily, which is a hugely important part of emergence/self-organization.
Edit: Yeah basically what you said, although you can apply the ideas at any level of the concepts and it still ends up working, I've found this whole subject ends up being self-referential very often and you run into what I call "conceptual singularities" where it gets difficult to describe an idea because the way you describe that idea is the idea itself
Edit: Our posts literally say the same thing in different terms this is weird
[QUOTE=ZenX2;46820611]I've actually learned a lot about creating better genetic algorithms from my research into emergence, there's a natural structure to populations of tightly connected groups with looser connections between them (a scale-free/small world network)
If you keep your populations organized and breeding like this (with tighter but more disconnected groups) there will be trends in different directions in each of those small populations, and when the smaller groups intermingle it will lead to better improvement of the species as a whole because they exchange their more specialized mutations
This is because you aren't confining the population's distribution in the solution space to a spherical blob, when they're isolated the population can bend around search through the space in multiple directions at once. Or in other words, it reduces the degrees of freedom temporarily, which is a hugely important part of emergence/self-organization.
Edit: Yeah basically what you said, although you can apply the ideas at any level of the concepts and it still ends up working, I've found this whole subject ends up being self-referential very often and you run into what I call "conceptual singularities" where it gets difficult to describe an idea because the way you describe that idea is the idea itself
Edit: Our posts literally say the same thing in different terms this is weird[/QUOTE]
Now we kiss, right?
[QUOTE=Darwin226;46820645]Now we kiss, right?[/QUOTE]
First I have to serenade you with an explanation of the benefits of a technique where you pick points in a solution space to explore with intelligent gradient descent before creating a local population for a genetic algorithm and letting it explore, then using their average fitness as the fitness of the original point within another genetic algorithm, that simulates the evolution of populations as a whole just as you would treat a single organism, allowing intense optimization
I made it so that dead organisms double as food and transfer their energy to any living organism they touch.. now they're hugging each other to death, quite literally.
[img]https://dl.dropboxusercontent.com/u/27714141/cilium2.png[/img]
I can't wait till they realise that they can fire projectiles that can kill. It'd take quite an effort to build a good gene for that trait though.
I once wanted to do something with genetics/evolution but I found I have no idea where to start.
I was noob then.
[QUOTE=adnzzzzZ;46820011]getting new combat system in the real game.....
[IMG]http://puu.sh/dQ4fh/cffc8ee7f9.gif[/IMG]
(all thanks to [B]fuccboiGDX[/B])[/QUOTE]
So how's the [B]fuccboiGDX[/B] working out? It seems the [B]fuccboiGDX[/B] is working well. I hope the [B]fuccboiGDX[/B] is a success. The [B]fuccboiGDX[/B] seems to be well put together. Good luck with the [B]fuccboiGDX[/B]
[QUOTE=Asgard;46821007]So how's the [B]fuccboiGDX[/B] working out? It seems the [B]fuccboiGDX[/B] is working well. I hope the [B]fuccboiGDX[/B] is a success. The [B]fuccboiGDX[/B] seems to be well put together. Good luck with the [B]fuccboiGDX[/B][/QUOTE]
You must be some sort of policeman with OCD :v:
Finally added the ability burst fire for the enemies and also weapon clips, so that you can't fire infinite amounts of bullets per second. Still infinite ammo.
I needed to rewrite some old weapons code for the enemies so that they now also have an amount of bullets before reloading.
30 gruesome lines of if/else statements and little countdown variables wich refused to work unless I merge them somehow together. :suicide:
[video=youtube;hJpwygg3VsQ]http://www.youtube.com/watch?v=hJpwygg3VsQ[/video]
[editline]30th December 2014[/editline]
Also working on melee animations. I got the code for it right but the animation looks like he's doing a chicken dance and facepalming.
Best arm sprite of the year: [IMG]http://i.imgur.com/DraHiXS.png[/IMG]
Might not seem like much, but I've started making a copy of my path tracer using CUDA.
[thumb]http://i.imgur.com/AFICHlG.png[/thumb]
This sphere is raytraced on the GPU, and I couldn't be happier after some very strange results:
[thumb]http://i.imgur.com/u83chug.png[/thumb]
[thumb]http://i.imgur.com/mqjC2wi.png[/thumb]
[thumb]http://i.imgur.com/lNqsqDM.png[/thumb]
[thumb]http://i.imgur.com/1FMkFdz.png[/thumb]
[QUOTE=xThaWolfx;46821657]Might not seem like much, but I've started making a copy of my path tracer using CUDA.
[thumb]http://i.imgur.com/AFICHlG.png[/thumb]
This sphere is raytraced on the GPU, and I couldn't be happier after some very strange results:[/QUOTE]
How much effort does it take to synchronize the threads? Does that happen automatically?
[QUOTE=Darwin226;46821802]How much effort does it take to synchronize the threads? Does that happen automatically?[/QUOTE]
I'm using ManagedCUDA, a C# library. As far as I know it's all being done for me as I haven't done anything to synchronize them.
[QUOTE=adnzzzzZ;46820011]getting new combat system in the real game.....
<gif>
<something about fukboi>[/QUOTE]
I feel like this would have been a much better Scott Pilgrim vs. the World game.
[QUOTE=xThaWolfx;46821812]I'm using ManagedCUDA, a C# library. As far as I know it's all being done for me as I haven't done anything to synchronize them.[/QUOTE]
That's good to hear. It might be that CUDA does synchronization itself.
[QUOTE=LuaChobo;46821503]spent like an hour dicking about
[t]http://puu.sh/dQMzr/7f031c5428.jpg[/t]
it was well worth it
hot meme twitter bot is basically done unless i wanna make it actually generate sick fresh memes
meme ai when[/QUOTE]
Well this sounds like a kinda fun project. I've stolen your idea and I will start work on my new "hot single memes" bot.
I think it'll be fun to take a page from Rant and actually do some procedural generation. i.e. if the app selects the word "I'm" to be the first word, the next potential words will be "going", "will", "can't", etc.
Something new to put on my project page on my website anyway.
[QUOTE=xThaWolfx;46821812]I'm using ManagedCUDA, a C# library. As far as I know it's all being done for me as I haven't done anything to synchronize them.[/QUOTE]
What kind of parts do you offload to the GPU? I'm interested in using something like this for the ray tracer I have, but as far as I'm aware you're limited to doing number math and that's about it (i.e. you can't actually create objects and such, but I may be wrong).
I guess most of it is matrix math.
[QUOTE=Contron;46822354]What kind of parts do you offload to the GPU? I'm interested in using something like this for the ray tracer I have, but as far as I'm aware you're limited to doing number math and that's about it (i.e. you can't actually create objects and such, but I may be wrong).[/QUOTE]
That is correct, you create the objects on the CPU. However, on the GPU I perform all my ray calculations. Right now, all my CPU does is create the spheres and planes and set their colours etc. The GPU actually performs all intersections and radiance calculations.
Also, having problems turning a recursive function into an iterative one and just as much trouble using curand methods, but here's the very first image which is starting to look like something!
[thumb]http://i.imgur.com/5lpe0no.png[/thumb]
[video=youtube;p7yCI57I1DU]http://www.youtube.com/watch?v=p7yCI57I1DU[/video]
Based loosely on Conway's game of life. It uses a framebuffer to store the state and a shader to advance it based on the stored state. I also play with offsetting the framebuffer slightly to create interesting fractal effects.
Those rectangles at the beginning seem to be something on the GPU. I guess it has something to do with floating point quantization?
some use of that effect:
[img]https://dl.dropboxusercontent.com/u/244444/ShareX/2014-12/2014-12-30_01-01-11.jpg[/img]
[vid]http://dl.dropboxusercontent.com/u/244444/ShareX/2014-12/2014-12-30_00-46-15.webm[/vid]
All I could think about while watching that
[media]http://www.youtube.com/watch?v=5MJEKTFg8PM[/media]
[QUOTE=CapsAdmin;46822540][vid]http://dl.dropboxusercontent.com/u/244444/ShareX/2014-12/2014-12-30_00-46-15.webm[/vid][/QUOTE]
That evolution of PCB is amazing...!
[IMG]http://i.imgur.com/05zPiSc.png[/IMG]
I figure, what good is a ranting twitter bot if it can't misspell some shit. :v:
I have all of the neighbors to each letter hardcoded. It isn't all that pretty, but it does make it quite easy to process:
[cpp]public string Process(string input){
var rng = new Random();
var newString = String.Empty;
input.ToList().ForEach(let =>
{
bool makeTypo = rng.NextDouble() <= chance ? true : false;
if (makeTypo && letters.Any(x => x.Value == let))
{
int PossibleTypos = letters.First(x => x.Value == let).NearKeys.Length;
newString += letters.First(x => x.Value == let).NearKeys[rng.Next(PossibleTypos)];
}
else
{
newString += let;
}
});
return newString;
}
[/cpp]
[QUOTE=Protocol7;46821922]Well this sounds like a kinda fun project. I've stolen your idea and I will start work on my new "hot single memes" bot.
I think it'll be fun to take a page from Rant and actually do some procedural generation. i.e. if the app selects the word "I'm" to be the first word, the next potential words will be "going", "will", "can't", etc.
Something new to put on my project page on my website anyway.[/QUOTE]
Sounds like a job for a Markov chain.
[QUOTE=voodooattack;46820755]I made it so that dead organisms double as food and transfer their energy to any living organism they touch.. now they're hugging each other to death, quite literally.
[img]https://dl.dropboxusercontent.com/u/27714141/cilium2.png[/img]
I can't wait till they realise that they can fire projectiles that can kill. It'd take quite an effort to build a good gene for that trait though.[/QUOTE]
Please set up a livestream so we can watch.
[i]please[/i]
[QUOTE=LuaChobo;46821503]spent like an hour dicking about
[t]http://puu.sh/dQMzr/7f031c5428.jpg[/t]
it was well worth it
hot meme twitter bot is basically done unless i wanna make it actually generate sick fresh memes
meme ai when[/QUOTE]
This is hilarious. How does it work?
[QUOTE=Berkin;46822987]Sounds like a job for a Markov chain.[/QUOTE]
That's kind of what I'm planning on doing; much like Rant I will have dictionaries, and each word will have associated tags. For example, for my articles, they look like this:
[QUOTE]a:#tags:"consonantword adjective noun"
an:#tags"vowelword adjective noun"[/QUOTE]
"vowelword" signifies that the next word should start with a vowel (will be variable based on pronunciation ofc) and I bet you can't guess what consonantword means. Adjective and noun mean that a noun or adjective will follow these words. It's gonna be super locked down, though.
It also does have support for plurality:
[IMG]http://i.imgur.com/BT1fwRr.png[/IMG]
I have no idea what the hell I'm really doing, and the English language is kind of fucked up, but this is fun.
I have yet to touch the Twitter bot portion, I just want a diatribe generator damnit.
[QUOTE=Ott;46823025]Please set up a livestream so we can watch.
[i]please[/i][/QUOTE]
I have something better planned. This is all JavaScript and PHP. I'll put it up publicly soon, once I finish the UI and AJAX genome exchange.
People will be running simulations and can add portals (totally voluntarily) to import and export organisms to other people in real time. I think it's going to be fun. Especially when your superior organisms raid everyone's simulations and wreck their shit.
[QUOTE=voodooattack;46823170]I have something better planned. This is all JavaScript and PHP. I'll put it up publicly soon, once I finish the UI and AJAX genome exchange.
People will be running simulations and can add portals (totally voluntarily) to import and export organisms to other people in real time. I think it's going to be fun. Especially when your superior organisms raid everyone's simulations and wreck their shit.[/QUOTE]
I can finally create the zombie virus I've always dreamed of.
[QUOTE=voodooattack;46823170]I have something better planned. This is all JavaScript and PHP. I'll put it up publicly soon, once I finish the UI and AJAX genome exchange.
People will be running simulations and can add portals (totally voluntarily) to import and export organisms to other people in real time. I think it's going to be fun. Especially when your superior organisms raid everyone's simulations and wreck their shit.[/QUOTE]
Awesome, idea is awesome!
You should (later) make some sort of statistics per day/hour... like how many times your organism has died/spawned/eaten food, and maybe some 2D map, where they are currently etc, this way people can precisely see where Berkins virus has eaten them.
Sorry, you need to Log In to post a reply to this thread.