5,989 reputation
11432
bio website vyznev.net
location Helsinki, Finland
age
visits member for 3 years, 9 months
seen yesterday

I'm a PhD student in biomathematics, working on stochastic individual-based models of evolution in spatially structured populations. My other interests include cryptography, programming games and puzzles, photography and graphic design.


I'm the main author and maintainer of the Stack Overflow Unofficial Patch (SOUP), a user script for browsers with GreaseMonkey-compatible user script support (Firefox, Chrome, Opera, possibly Safari) that fixes or works around a number of outstanding issues with the Stack Exchange user interface.

I tend to answer a lot more questions than I ask. Some answers I'm rather proud of:

CC-Zero Please consider any (original) code I post to Stack Overflow and other Stack Exchange sites to be released under CC-Zero unless stated otherwise. You may do whatever you want with it and don't have to credit me in any way, although of course that would be nice.


May
4
answered Implementing vector based movement in a 2d environment
Apr
28
answered how to detect when a character is walking on an item in java
Apr
27
comment Simulated Economic Factors Based on Supply and Demand in MMO Resource Trading Game
Note that the arithmetic average is only right if the pricing is linear. For more details, see my answer.
Apr
27
answered Simulated Economic Factors Based on Supply and Demand in MMO Resource Trading Game
Apr
22
answered A Simple Method To Create Island Map Mask
Apr
9
comment Why is 90° horz / 60° vert the default FPS Field of View?
Indeed, the false perspective induced by an artificially wide field of view is completely unnatural, and I personally often find the distortion it creates stressful and annoying. But it's still infinitely preferable to trying to view everything through a 20°-30° peephole, which is about what "realistic" perspective on a typical single monitor would imply. Talk about tunnel vision!
Apr
1
comment Flowfield density conversion
Right, there doesn't appear to be any "radius" in the formulas you quoted that could enter into those calculations.
Apr
1
revised Flowfield density conversion
added 645 characters in body
Apr
1
comment Flowfield density conversion
@sharvey: Because in the picture, the agent is below and to the left of the center of the cell it is in.
Mar
31
awarded  Civic Duty
Mar
31
answered Flowfield density conversion
Mar
25
comment Is there a way to make a dynamic world such as a MMORPG horizontally scalable?
@Dokkat: It might be possible to have some kind of "soft areas" where you have each server mainly handling players in a particular part of the game world, but have them transparently hand over the player to another server if they stray too far from their original server's region. You'd just need to make sure the handover is smooth enough that players don't really notice it. You could even try to use some fancy adaptive techniques to keep clusters of interacting players on the same server, even if they happen to be just on a region boundary.
Mar
24
comment How do I programmatically remove an image's background color?
It might help if you included a picture of your actual sprite, and some hint of how you want it to look like in the game (and maybe an example of what goes wrong when you try to remove the background in Photoshop).
Mar
24
answered Is there a way to make a dynamic world such as a MMORPG horizontally scalable?
Mar
3
revised How can I change the acceleration of an object to arrive at a particular time?
oops, missed the part where you wrote that you don't know the original arrival time
Mar
3
revised How can I change the acceleration of an object to arrive at a particular time?
oops, missed the part where you wrote that you don't know the original arrival time
Mar
3
answered How can I change the acceleration of an object to arrive at a particular time?
Feb
28
answered PHP Browser Game Private Messages?
Feb
17
awarded  Quorum
Feb
15
answered How precise should timers in update loops be?