Search found 32 matches

by SirRanjid
Mon Jul 15, 2019 12:15 pm
Forum: Libraries and Tools
Topic: Artificial Neural Networks for lua
Replies: 8
Views: 8370

Re: Artificial Neural Networks for lua

Nothing haha. Actually I like to watch it do stuff like shown in the image and just alter stuff like jitter and such. I concluded that a fixed jitter gets problematic the closer it gets to the error value or when the jitter is bigger than it. So maybe a dynamic/relative jitter is better (as with wha...
by SirRanjid
Sun Apr 14, 2019 7:26 am
Forum: Libraries and Tools
Topic: Artificial Neural Networks for lua
Replies: 8
Views: 8370

Re: Artificial Neural Networks for lua

https://i.imgur.com/Zyq0LFc.gif I updated it bit to make it color different training pairs differently on the plotter instead of coloring all by their error. Also added sin and cos functions, some jitter and a new net for eyecandy. The nn code itself now also outputs the index of the used training-...
by SirRanjid
Fri Jun 29, 2018 12:27 pm
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1698
Views: 449698

Re: What's everyone working on? (tigsource inspired)

I added water puddles that only spawn when it's raining, also working on a new part of the city called the Neon Light District [...] Nice progress. I'd suggest you add some fake ambient occlusion. Maybe store depth information along with each tile and run a shader on top. https://i.imgur.com/PAR4V6...
by SirRanjid
Wed Jun 27, 2018 11:10 pm
Forum: General
Topic: Code Doodles!
Replies: 155
Views: 65722

Re: Code Doodles!

First actual doodle. It's a bit psychedelic and plays seemlessly forever. (No worries no fullscreen and console in case you can't close it directly for some reason like me. Maybe you could tell me what's wrong.) DON'T disable the event module at least not in v0.10.2 . https://i.imgur.com/s7fXTF5.gif
by SirRanjid
Fri Apr 13, 2018 1:51 pm
Forum: Libraries and Tools
Topic: Artificial Neural Networks for lua
Replies: 8
Views: 8370

Re: Artificial Neural Networks for lua

I bet^^. I think K-means is something I already got. I'm more about trying to make an AI that could really kick some ass and be fun to play against with. Or imagine a simple zombie ai which is driven by a neural net. For each zombie just apply some small random jitter to the weights and it seems lik...
by SirRanjid
Wed Apr 11, 2018 8:52 pm
Forum: Libraries and Tools
Topic: Artificial Neural Networks for lua
Replies: 8
Views: 8370

Re: Artificial Neural Networks for lua

If you get a chance, initialize a large hidden layer with random values, and then attempt to just train the output layer. Drop out is also an interesting topic to explore on that front. Sounds interesting. Dropout was actually something I wanted to implement. At the moment I got momentum/velocity. ...
by SirRanjid
Wed Apr 11, 2018 6:47 pm
Forum: Libraries and Tools
Topic: Artificial Neural Networks for lua
Replies: 8
Views: 8370

Artificial Neural Networks for lua

Hi was being asked to talk a bit more about my implementation of ANN here in lua. Actually already wrote this but when I tried attching a file via drag&drop(over the ad file button instead of the text entry) so my browser made the tab a download tab for my local file and everything got deleted for m...
by SirRanjid
Sat Mar 31, 2018 1:21 pm
Forum: Games and Creations
Topic: Planets (SIM)
Replies: 2
Views: 1674

Re: Planets (SIM)

Thanks :) I also thought about them damaging each other but just went with a particle/shader effect. Actually I still wanna make them crack and fracture. But I can't edit the circle shapes and I'm not sure about using polygons(performance and looks wise). Yeah disabling fullscreen is just as DIY(in ...
by SirRanjid
Thu Mar 08, 2018 12:05 am
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1698
Views: 449698

Re: What's everyone working on? (tigsource inspired)

Implementing a neural network and backpropagation.

ImageImage
(Tries turning the net into a XOR function; line is the decreasing error)
by SirRanjid
Sat Feb 24, 2018 4:12 am
Forum: Games and Creations
Topic: Planets (SIM)
Replies: 2
Views: 1674

Planets (SIM)

https://i.imgur.com/ioWP8qe.jpg Here's a small planet sim that's quite interactive. At first it was planned to be a doodle but it kept growing. Controls: [LM] = LEFt Mouse Button [RM] = RIGHT Mouse Button [MM] = MIDDLE Mouse Button [MWU]= Mouse Wheel UP [MWD]= Mouse Wheel DOWN [SH] = (L/R)Shift [CT...