If you're unfamiliar, "The Scream" is a painting made by Edvard Munch around 1893-1910. It recently sold for ~$119 million dollars.
Seriously, what's so good about this?
Yes, it's a historical piece of art. Yes, its fame derives a lot from its age and influence. And I've been staring at it while writing this post, and yes, I guess I kind of like the colors of the water and the sky. They look deep and bold.
But what the heck is with the focus of the picture: the actual scream? People seem to say that the scene looks and feels like "a thriller," or they can feel the darkness and anxiety of the subject. How? I certainly don't.
Of course, this is probably a matter of tastes. I've always been a fan of, in the words of a show my sister was showing me yesterday, the "double-layer trap" in creative works. If you're writing a sad book, you shouldn't use the words "sad," "depressed," "gloomy," etc. Likewise, if you're directing a sad movie, you shouldn't pepper it with excessive crying and slow-mo. And if you're painting a sad painting, you shouldn't have to pour a gallon of gray paint all over your work and say, "aha! My colors are dark! My painting is now officially saddening!"
If your work is good, it should lend itself to the emotion you're targetting. And if it's not, slapping a crying man in the picture isn't going to help you.
I'm not criticizing Munch. Wait, yes I am. Not that I have the authority or qualifications to (I'm an awful artist), but in my extremely unprofessional opinion, "the scream" takes a whole lot of potential out of "The Scream."
Tuesday, May 8, 2012
Saturday, May 5, 2012
C++ : Symbolic Regression - Part 1
I'm not dead. Just working on something that's taking an awful long amount of time. That's my excuse for my recent post-truancy.
'Wired: Computer Self Discovers Laws of Physics'
See that article up there? Click on it. No? Fine, here's what it says in a nutshell. Some people over at Cornell University stuck a bunch of LED lights onto a chaotic pendulum, hooked up an LED detector onto a computer, and fed the data through some fancy algorithms based on symbolic regression that calculated the gravity equation from scratch.
Sounds complicated? It's not. It's actually extremely simple. Here's the generalized workflow:
If you're interested in your own research, here's the material for the Cornell project. It's a little intimidating to read but isn't all that bad; most of the unfamiliar terms can be figured out in context.
Overview: Distilling Free-Form Natural Laws from Experimental Data
Supporting Online Material
'Wired: Computer Self Discovers Laws of Physics'
See that article up there? Click on it. No? Fine, here's what it says in a nutshell. Some people over at Cornell University stuck a bunch of LED lights onto a chaotic pendulum, hooked up an LED detector onto a computer, and fed the data through some fancy algorithms based on symbolic regression that calculated the gravity equation from scratch.
Sounds complicated? It's not. It's actually extremely simple. Here's the generalized workflow:
- Feed some data into the computer, like the positions of the LED lights. These are your state variables.
- Use some fancy maths to find the partial derivatives between the state variables. Partial derivatives are used to calculate relations between variables.
- Generate thousands of equations randomly, and use genetic algorithms for mutation (value mutation, crossover, etc.). The equations that match the data the closest (via plugging in values) have the highest priority in mutation. This is the symbolic regression step.
- Repeat step 3 a hundred thousand gazillion times and after an infinite number of iterations you should converge to the exact equation that fits the data.
Programming Symbolic Regression
The main programming obstacles here are as follows:- Building equations in program-my form. There's a predetermined set of operators made into functions and stored as function pointers (add(a,b), sub(a,b), mul(a,b), div(a,b), sin(a), cos(b), among others).
- Solving partial derivatives symbolically. I have no idea how to do this yet but I'm sure it's not that hard?
- Optimizing it so it doesn't take a hundred thousand years to calculate something nice.
If you're interested in your own research, here's the material for the Cornell project. It's a little intimidating to read but isn't all that bad; most of the unfamiliar terms can be figured out in context.
Overview: Distilling Free-Form Natural Laws from Experimental Data
Supporting Online Material
Thursday, April 26, 2012
This Town (ABEFTTOU) : Ludum Dare Entry
This Town (ABEFTTOU) made for Ludum Dare 23 in 48 hours. Runs on XNA, so the download leads to an installer. If anyone knows how to compile standalone XNA executables please tell me kthnx.
Timelapse:
Postmortem
The Good:- GitHub is so beautiful! I cloned my half-finished OOP engine and worked on the engine alongside the game. The cool thing is, the engine code remains separate from the game. If I wanted to add, say, animated sprites to the game, I'd set it up in the engine, merge them, and have GitHub resolve the conflicts. Ended up with not only a finished game but a patched up engine as well.
- Small, concise idea that could actually be finished.
- Having drafted the idea for the game before starting.
- Use something you're familiar with, dangit! Should've used Game Maker or Flash, both way easier and faster to dev in than C#/XNA.
- Figure out how to compile the game before submitting. No one who didn't previously have XNA already could play the game at first because it wasn't packaged with the framework. Stupid me. And an addendum, people with weak graphics cards still couldn't play because I compiled it in HiDef mode unnecessarily and accidentally. Stupid me.
- Leave an hour or so for balancing and bugfixes. Pretty much crippled the game.
Tuesday, April 10, 2012
Gamedev Meetup
First time at a gamedev meetup. Interesting experience overall and definitely going to attend the next one.
Event was hosted by a Microsoft developer named Joe Healy on developing for the Windows Phone-- marketing and all.
Confirmed a lot of what I already knew, but some alright new things.
The easy stuff:
-The best apps are non-shitware, but a heavy side of it comes from raw marketing.
-Marketing marketing marketing marketing. Marketing!
-Windows Phone programming is a helluvafscking lot easier and cleaner than Android programming.
The not-so-well-known stuff:
-The market is very much alive, even with only 70k apps.
-Startup fees (licensing etc) are few.
-One app a month is a decent rate of release.
-Advertisements = top money.
-XNA is 100% portable from PC to phone. Design a game on PC and move it over to Phone, hassle-free.
Definitely a market to look at if iOS dev doesn't go down as well as I'd expected.
Now for the social aspects:
Despite being several decades younger than the majority of participants (I was the youngest there, hands-down), I didn't really feel out-of-place at all. The people were all very interesting to talk to. Even got a conversation going with a guy about different types of trash cans.
My big mistake here? Not claiming a computer already set-up with the Windows Phone 8 SDK, and having to download and install it myself. Oh, cool, can't connect to wifi. Good thing they have an instructions sheet for it. Oh, cool, popup bubble asking for credentials not appearing. Good thing I spent half an hour searching to find it. Oh, cool, the Microsoft website is down and I can't download the SDK.
Good thing I refreshed my HOSTS file, flushed my DNS, disabled/re-enabled all the wireless adapters, manually updated IP and DNS addresses, pinged microsoft.com several times, IP-tracked the DNS via Whois and Google, and finally got around the DNS block before realizing the link I had was for the patch and not the original package.
By then, the meeting had ended.
Also, for any hobbyists of any creed:
I highly recommend attending one of these. Look online at Meetup.com for those in your area or something. This was excellent, and the people were excellent, and I regret not finding these meetups earlier.
Event was hosted by a Microsoft developer named Joe Healy on developing for the Windows Phone-- marketing and all.
Confirmed a lot of what I already knew, but some alright new things.
The easy stuff:
-The best apps are non-shitware, but a heavy side of it comes from raw marketing.
-Marketing marketing marketing marketing. Marketing!
-Windows Phone programming is a helluvafscking lot easier and cleaner than Android programming.
The not-so-well-known stuff:
-The market is very much alive, even with only 70k apps.
-Startup fees (licensing etc) are few.
-One app a month is a decent rate of release.
-Advertisements = top money.
-XNA is 100% portable from PC to phone. Design a game on PC and move it over to Phone, hassle-free.
Definitely a market to look at if iOS dev doesn't go down as well as I'd expected.
Now for the social aspects:
Despite being several decades younger than the majority of participants (I was the youngest there, hands-down), I didn't really feel out-of-place at all. The people were all very interesting to talk to. Even got a conversation going with a guy about different types of trash cans.
My big mistake here? Not claiming a computer already set-up with the Windows Phone 8 SDK, and having to download and install it myself. Oh, cool, can't connect to wifi. Good thing they have an instructions sheet for it. Oh, cool, popup bubble asking for credentials not appearing. Good thing I spent half an hour searching to find it. Oh, cool, the Microsoft website is down and I can't download the SDK.
Good thing I refreshed my HOSTS file, flushed my DNS, disabled/re-enabled all the wireless adapters, manually updated IP and DNS addresses, pinged microsoft.com several times, IP-tracked the DNS via Whois and Google, and finally got around the DNS block before realizing the link I had was for the patch and not the original package.
By then, the meeting had ended.
Also, for any hobbyists of any creed:
I highly recommend attending one of these. Look online at Meetup.com for those in your area or something. This was excellent, and the people were excellent, and I regret not finding these meetups earlier.
Monday, April 9, 2012
A Programmer's View on Justice
(By "justice," I mean the Hammurabian "eye-for-an-eye" justice. Thought I'd clarify.)
The common line of moral doctrine seems to be "treat unto others as thoust wish to be treated," maybe without so much of the Old English. Seems fair enough, right?
I think that in a lot of cases it's complete bull, and here's why.
Let's redefine morality, for a second. Morality, or how "good" a person is, we'll define as "how much they contribute to the world after subtracting how much they take from the world." A simple profit-minus-expenses situation. Makes sense, right? After all, a "good" person would optimally have given more than they've taken. The world would be better off having had a "good" person and worse off having had a "bad" person.
Now, for the sake of argument, let's quantify the world's resources. Imagine the world is a room, and inside the room there are corn crops and humans. These are the sole resources of the "world," and therefore the most "good" person will try to maximize the world's resources by growing crops. Our world is therefore split up into environmental resources (food) and human resources (human labor, to grow the food).
A Scenario
We'll say we start out with 5 "food" and 5 "human."
Food: 5
Human: 5
Total: 10
We will assume that all humans grow food at the same rate and consume food at the same rate, and that they grow food faster than they consume it (so that they are always a positive resource). Our total "world resources" is then 10 (combining food and human resources). Of course, this number is arbitrary, and doesn't account for priority weights of "food" and "human" (a human might be five times as useful as a food, for example), but the number is going to be used relatively and therefore the technicalities don't matter.
So one day, Abert is a total jerk and burns Bartholomew's crop (-1 food).
Food: 4
Human: 5
Total: 9
Notice that our total "world resources" is now a little less.
So, what's the "fair" thing to do?
The common line of moral doctrine seems to be "treat unto others as thoust wish to be treated," maybe without so much of the Old English. Seems fair enough, right?
I think that in a lot of cases it's complete bull, and here's why.
Let's redefine morality, for a second. Morality, or how "good" a person is, we'll define as "how much they contribute to the world after subtracting how much they take from the world." A simple profit-minus-expenses situation. Makes sense, right? After all, a "good" person would optimally have given more than they've taken. The world would be better off having had a "good" person and worse off having had a "bad" person.
Now, for the sake of argument, let's quantify the world's resources. Imagine the world is a room, and inside the room there are corn crops and humans. These are the sole resources of the "world," and therefore the most "good" person will try to maximize the world's resources by growing crops. Our world is therefore split up into environmental resources (food) and human resources (human labor, to grow the food).
A Scenario
We'll say we start out with 5 "food" and 5 "human."
Food: 5
Human: 5
Total: 10
We will assume that all humans grow food at the same rate and consume food at the same rate, and that they grow food faster than they consume it (so that they are always a positive resource). Our total "world resources" is then 10 (combining food and human resources). Of course, this number is arbitrary, and doesn't account for priority weights of "food" and "human" (a human might be five times as useful as a food, for example), but the number is going to be used relatively and therefore the technicalities don't matter.
So one day, Abert is a total jerk and burns Bartholomew's crop (-1 food).
Food: 4
Human: 5
Total: 9
Notice that our total "world resources" is now a little less.
So, what's the "fair" thing to do?
Wednesday, April 4, 2012
Stanford Summer Program Get!
Accepted into Stanford's 2012 summer class on Artificial Intelligence. Good news and bad news.
The good news: Stanford! And artificial intelligence! And hopefully, for once, some interesting people who do things!
The bad news: Going to have to dedicate my time to a job now. There is simply no way I'll be able to pay for this without some freelance work. Which means...
I'm sorry, I'm not sure how much time I can spend on the Brighton RTS, or the One Second Roguelike, or the secret four-letter project, or the C++ 3D physics engine. Gamedev might have to slow down for a while. Hopefully still going to learn some cool stuff from freelancing though, but that's how it goes I guess.
Not that I regret getting accepted at all, this is fantastic.
Thanks a ton, Stanford, and sorry for pestering you so much with fax problems.
The good news: Stanford! And artificial intelligence! And hopefully, for once, some interesting people who do things!
The bad news: Going to have to dedicate my time to a job now. There is simply no way I'll be able to pay for this without some freelance work. Which means...
I'm sorry, I'm not sure how much time I can spend on the Brighton RTS, or the One Second Roguelike, or the secret four-letter project, or the C++ 3D physics engine. Gamedev might have to slow down for a while. Hopefully still going to learn some cool stuff from freelancing though, but that's how it goes I guess.
Not that I regret getting accepted at all, this is fantastic.
Thanks a ton, Stanford, and sorry for pestering you so much with fax problems.
Tuesday, April 3, 2012
Minor update for minor people.
- 4 Hour Jam is this Saturday, remember this.
- Werewolf is coming to a close. Good show!
- molyjam was amazing and I regret not being able to finish anything really on time.
- C++ physics engine in the works! In excruciatingly depth-stretching 3D.
- Super secret gamedev project among super secret friends. That's all you're getting. (It's also four letters).
- South Florida iOS Meetup postponed for the first time in 6 years. Has to be postponed the first day I go, of course.
- The Game of Life engine I made a while back has been updated to run over 8x faster. Might turn it into a screensaver, maybe.
- Noticed this blog stretches horizontally on smaller screens. Y NO 1 TELL ME?!
- And lastly, some web design.
![]() |
| Don't worry, do your best! Jujuju-jujuju jujuju-jujuju jujujuju.... |
Subscribe to:
Posts (Atom)


