It is a blur filter. It is slow, but I like the results:
I used LodePNG to load the image and then made the filter from scratch in C. It isn't very fast or really very good, but it works! I good black triangle for image manipulation!
-Liam
Showing posts with label progam. Show all posts
Showing posts with label progam. Show all posts
Saturday, February 18, 2012
Wednesday, July 20, 2011
6990 - The Number of the Beast
I am currently working with a computer I have named "Beast". Literally, it's in the cs departments name as Beast.
Technically beast is the best computer you could buy right now with an AMD Radion 6990 coupled with an Intel i7 26000k and a ton o' ram.
In reality Beast is as vicious as Beast is powerful and hates locking mechanisms. The Beast does not like to be synchronized or controlled and as such fights back the only way it can - by locking up completely.
Truly filled with a dark soul and angered by its captivity, Beast also hates restarting and takes forever to do so. No doubt biding its time. Waiting for another prime moment to initiate its grand betrayals.
Finally when it does restart and boot up again, it says it had an error and shut down unexpectedly. We both know I shut it down, but only Beast won't admit it.
-Liam
Technically beast is the best computer you could buy right now with an AMD Radion 6990 coupled with an Intel i7 26000k and a ton o' ram.
In reality Beast is as vicious as Beast is powerful and hates locking mechanisms. The Beast does not like to be synchronized or controlled and as such fights back the only way it can - by locking up completely.
Truly filled with a dark soul and angered by its captivity, Beast also hates restarting and takes forever to do so. No doubt biding its time. Waiting for another prime moment to initiate its grand betrayals.
Finally when it does restart and boot up again, it says it had an error and shut down unexpectedly. We both know I shut it down, but only Beast won't admit it.
-Liam
Thursday, December 2, 2010
Space Slayer: Earth's Last Hope
Made this for a class in second year! Fun times. Woot gamemaker.
Fly and Be Free
They came just as we thought they would. They began their attack from orbit, destroying our major military installations. With no ability to defend ourselves, their ground troops had no problems enslaving the human race. In days we became nothing, but they made a mistake. One of their interplanetary crafts, dubbed The Shrike, crashed near a pocket of resistance fighters. Unfortunately the controls were a mystery.
You were one of those resistance fighters lucky enough to stay alive. Your entire family, friends and acquaintances were killed by the invaders. Fueled by your thirst for revenge you managed to figure out that you moved with the arrow keys, and shot with the Z key. Your mission is to take that ship into space, and find the alien home world. There you will find the alien overlord. Rock On!
You were one of those resistance fighters lucky enough to stay alive. Your entire family, friends and acquaintances were killed by the invaders. Fueled by your thirst for revenge you managed to figure out that you moved with the arrow keys, and shot with the Z key. Your mission is to take that ship into space, and find the alien home world. There you will find the alien overlord. Rock On!
Game Executable. Click here to play!
Game Design Document
User Manual
Friday, September 24, 2010
Liam's Open Source and Free Poker Timer - in Python
You can download it here
I really like to play poker (in this case texas holdem), but games of poker can take a long time. In my head, an ideal game of poker would take about 2 hours and let people live normal lives.
An actual game of poker can take 5+ hours. This is undesirable. Specifically when your friends only play poker to humor you.
As such, tournaments often raise the blinds by x after 20-30 minutes. This can totally be done for your games too, but I found a serious lack of help with such a task. In particular if you want a program which does this, it'll cost you 10+ dollars or require you to sign up somewhere.
Like Seriously?
I decided to make one, it took me an afternoon and fills all my requirements. It's python so you can run it almost anywhere. Also you can change it to fit your purposes.
It raises the blinds every 15 minutes like this. The value here is the small blind, the big blind is twice that.
1
2
3
4
5
10
15
20
30
40
50
60
+20
This should hopefully go for the 2 hour games mark and also make the first hour pretty relaxed. Everyone should be able to play for an hour, and even new players won't have a hard time. After an hour it will become an increasingly hard game and really take some skills, but the blinds shouldn't get rediculous.
This assumes 200 chips. If you do 1000 - multiply everything by 5. I just don't see the point of playing with 1000 fake dollars when you could do 200 and play the exact same game.
It requires python 3.1 and the pygame library. Also, in the same directory as the script, you need to have a song or sound file named "song.mp3". I suggest you put your favourite song there.
You can download it here
Once again this is beer license software and was developed to alleviate a huge and pressing gap in python poker timers. You may edit and redistribute it as long as you keep the beer license notice and don't make any money off it. Anything else requires my permission. Thank you!
-Liam
if you have any questions or comments, let me know!
I really like to play poker (in this case texas holdem), but games of poker can take a long time. In my head, an ideal game of poker would take about 2 hours and let people live normal lives.
An actual game of poker can take 5+ hours. This is undesirable. Specifically when your friends only play poker to humor you.
As such, tournaments often raise the blinds by x after 20-30 minutes. This can totally be done for your games too, but I found a serious lack of help with such a task. In particular if you want a program which does this, it'll cost you 10+ dollars or require you to sign up somewhere.
Like Seriously?
I decided to make one, it took me an afternoon and fills all my requirements. It's python so you can run it almost anywhere. Also you can change it to fit your purposes.
It raises the blinds every 15 minutes like this. The value here is the small blind, the big blind is twice that.
1
2
3
4
5
10
15
20
30
40
50
60
+20
This should hopefully go for the 2 hour games mark and also make the first hour pretty relaxed. Everyone should be able to play for an hour, and even new players won't have a hard time. After an hour it will become an increasingly hard game and really take some skills, but the blinds shouldn't get rediculous.
This assumes 200 chips. If you do 1000 - multiply everything by 5. I just don't see the point of playing with 1000 fake dollars when you could do 200 and play the exact same game.
It requires python 3.1 and the pygame library. Also, in the same directory as the script, you need to have a song or sound file named "song.mp3". I suggest you put your favourite song there.
You can download it here
Once again this is beer license software and was developed to alleviate a huge and pressing gap in python poker timers. You may edit and redistribute it as long as you keep the beer license notice and don't make any money off it. Anything else requires my permission. Thank you!
-Liam
if you have any questions or comments, let me know!
Subscribe to:
Posts (Atom)
