Search found 206 matches

by xXxMoNkEyMaNxXx
Tue Feb 04, 2014 10:54 am
Forum: Support and Development
Topic: Share a Shader!
Replies: 328
Views: 522732

Re: Share a Shader!

Cartesian to polar is super easy just use r,theta=sqrt(x^2+y^2),atan2(y,x) for cartesian to polar and use x,y=r*cos(theta),r*sin(theta) for polar to cartesian!
by xXxMoNkEyMaNxXx
Tue Feb 04, 2014 9:56 am
Forum: Libraries and Tools
Topic: Perfect Uniform Motion Blur v1.2
Replies: 5
Views: 5154

Re: Perfect Uniform Motion Blur

You probably want to include a license of some kind somewhere. I have never tried or even thought of doing that before, so I wouldn't know where to start. There is a lot of code repetition on the shader code. Isn't there a way to make it a bit more Don't Repeat Yourself? (I'm asking, I don't speak ...
by xXxMoNkEyMaNxXx
Tue Feb 04, 2014 8:51 am
Forum: Libraries and Tools
Topic: Perfect Uniform Motion Blur v1.2
Replies: 5
Views: 5154

Perfect Uniform Motion Blur v1.2

This shader creates perfect uniform 2D motion blur! Feel free to use it for your own projects, with credit. For each pixel, the shader considers the colours from every pixel on the image that passes under the pixel on the screen. For this reason, the computation time is proportional to the Manhattan...
by xXxMoNkEyMaNxXx
Mon Feb 03, 2014 8:03 pm
Forum: Libraries and Tools
Topic: Discrete Data Analyzer
Replies: 0
Views: 1279

Discrete Data Analyzer

Normal people would call it a clicking speed test. This program makes a continuous graph of average clicks per second with the backlogging time on the x-axis. All of the data is considered on the very right side of the graph. I was inspired to make this by the Actions Per Minute (APM) acronym that y...
by xXxMoNkEyMaNxXx
Tue Jan 28, 2014 12:02 pm
Forum: Libraries and Tools
Topic: Game of life, bring your version.
Replies: 15
Views: 6730

Re: Game of life, bring your version.

Here's my version of a continuous game of life using "max(0,1-1.8143*(a-b)^2)" for "a==b", "a*b" for "a and b", and "1-(1-a)*(1-b)" for "a or b". If you press E to start off, you'll see that the regular GOL still happens if the initial valu...
by xXxMoNkEyMaNxXx
Tue Jan 28, 2014 10:56 am
Forum: Libraries and Tools
Topic: Game of Life (Using what?)
Replies: 14
Views: 5135

Re: Game of Life (Using what?)

I like your implementation, interesting choice of features. It's fun making the game of life with something new, but I couldn't imagine sitting there for hours designing things that actually have a purpose with it!
by xXxMoNkEyMaNxXx
Tue Jan 28, 2014 10:16 am
Forum: Support and Development
Topic: Bizarre shader problem
Replies: 0
Views: 1106

Bizarre shader problem

The program is designed to use pixel shaders and 0.9.0. Hit m a bunch of times, and some strange things will appear on the screen. Right click and drag will correctly change the values as if it was moving the viewing window. The pixel shader appears to never change the vertical component of the posi...
by xXxMoNkEyMaNxXx
Fri Sep 27, 2013 4:41 am
Forum: Support and Development
Topic: Get velocity of mouse
Replies: 24
Views: 7564

Re: Get velocity of mouse

You should do the average velocity over a number of frames for better results. The mouse jumps between integer pixel values, so you don't get a smooth motion.
by xXxMoNkEyMaNxXx
Thu Sep 26, 2013 11:15 pm
Forum: Support and Development
Topic: save lua-table to lua-script
Replies: 18
Views: 7918

Re: save lua-table in lua-script

Centauri Soldier wrote:Weird, in my other IDE it returns 0 and 1.
Which one? It should never do that in Lua, unless the tostring function is replaced.
by xXxMoNkEyMaNxXx
Thu Sep 26, 2013 11:11 pm
Forum: Support and Development
Topic: [Worked Around]love.filesystem.exists problems
Replies: 11
Views: 5045

Re: love.filesystem.exists problems

I don't think that love filesystem can use that directory, but I'm not an expert in this area.