5,491 reputation
11229
bio website vyznev.net
location Helsinki, Finland
age
visits member for 3 years, 4 months
seen Dec 16 at 0:11

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.

Vote for me in the Mathematics.SE 2014 moderator election!


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.


Dec
15
comment How can I come up with a simple diminishing return equation?
It might help if you told us why you want to avoid exponentials. In particular, are expressions of the form x^y (x raised to the y-th power) out too (since computers usually calculate those using exponentials, at least for non-integer y)?
Nov
23
comment How can I implement gravity?
@Unit978: That depends on the game, and specifically on the physics model it implement. The force(time, position, velocity) in my answer above is just shorthand for "the force acting on an object at position moving at velocity at time". Typically, the force would depend on things like whether the object is in freefall or sitting on a solid surface, whether any other nearby objects are exerting a force on it, how fast it's moving over a surface (friction) and/or through a liquid or gas (drag), etc.
Nov
18
awarded  Nice Answer
Nov
17
answered How do you move a sprite in sub-pixel increments?
Oct
31
revised Why are leaderboards often separated between platforms?
fix title spelling
Oct
12
awarded  Custodian
Oct
12
reviewed Approve Swarm Algorithms
Oct
12
comment Swarm Algorithms
Unfortunately, these kinds of vague, open-ended questions (and especially those asking for references to external resources) are not a very good fit for the Stack Exchange format. Please take a look at the help center for more details. You might get some useful replies if you asked this in our chat room, though (or, then again, you might not).
Oct
4
answered In a TPS, how to aim bullets to the direction the camera is pointing, but make the shooting from the player?
Sep
24
awarded  Autobiographer
Aug
15
awarded  Yearling
Aug
9
comment A star pathfinding and discrete/smooth positions
@GameAlchemist: Yes, that's the usual way to handle it.
Aug
5
awarded  Organizer
Aug
5
comment How to move towards a point in 2D, stopping at obstacles
I've reverted the previous edits, and edited the title a bit. This question really is about collision-detection, not path-finding, since, as I read it, the OP wants to detect and stop at obstacles, not to go around them.
Aug
5
revised How to move towards a point in 2D, stopping at obstacles
revert and edit title: this really is about collision detection, not about path-finding
Jul
2
answered Does allocating and freeing a huge chunk of memory at startup “clean up memory”?
Jun
18
answered How can the lategame in a 4X game be made more exciting?
Jun
5
reviewed Approve What software can I use to animate my character in Unity3D?
Jun
5
reviewed Edit How to pause and unpause the Particular action of a sprite?
Jun
5
revised How to pause and unpause the Particular action of a sprite?
Improved formatting