Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Calisto

#1
Spa Room 101 / Re: If you are bored
September 20, 2012, 08:38:45 PM
Matlab script if you're as crazy as I am and want to calculate it for your own browser:

function cars(width, maxTime, v1, v2, v3, tolerance)

t = 0 : 1 : maxTime;
p1 = width * ( (v1 * t / width) - floor (v1 * t / width));
p2 = width * ( (v2 * t / width) - floor (v2 * t / width));
p3 = width * ( (v3 * t / width) - floor (v3 * t / width));

for i = 1 : maxTime;
    if (abs(p1(i) - p2(i)) < tolerance && abs(p2(i) - p3(i)) < tolerance && abs(p1(i) - p3(i)) < tolerance)
        disp (i);
    end
end

%plot(t, p1, t, p2, t, p3);

end
#2
Spa Room 101 / Re: If you are bored
September 20, 2012, 08:35:03 PM
Quote from: Shadow on September 20, 2012, 06:01:13 PM
Quote from: Calisto on September 20, 2012, 04:49:03 PM
This is probably possible to solve by using a couple of math equations. According to the page source, the "cars" move at rates of 9, -11, and 7 pixels per jump (setting left as the positive direction).

If each car is reduced to the size of one pixel, the position can be expressed by a sawtooth function.
p(t) = d ( (v / d)t - floor( (v / d) * t))
d = width of window (pixels)
v = car velocity (pixels/jump)
t = number of jumps (jumps)

I could be wrong though.

You're certainly on the right track. Keep going!
Awesome!

So I guess then that means that the individual position functions would be:
p1(t) = d ( 9t/d - floor(9t/d) )
p2(t) = d ( -11t/d - floor(-11t/d) )
p3(t) = d ( 7t/d - floor(7t/d) )

Measured d = 954 px and timed the period of each car to be 9, 8, and 12 seconds, meaning that the jump rate is about 10 jumps per second. Each holbs-mobile is roughly 50 pixels long.

Putting all of these numbers together in Matlab shows that (on my browser) the cars will align at around jump #478. This corresponds to roughly 47 seconds after the page loads:

This actually occurred 43 seconds after the page loaded, but the difference can be accounted for in the error in measuring the jump rate.
#3
Spa Room 101 / Re: If you are bored
September 20, 2012, 04:49:03 PM
This is probably possible to solve by using a couple of math equations. According to the page source, the "cars" move at rates of 9, -11, and 7 pixels per jump (setting left as the positive direction).

If each car is reduced to the size of one pixel, the position can be expressed by a sawtooth function.
p(t) = d ( (v / d)t - floor( (v / d) * t))
d = width of window (pixels)
v = car velocity (pixels/jump)
t = number of jumps (jumps)

I could be wrong though.
#4
Spa Room 101 / Re: Repo! The Genetic Opera
September 18, 2012, 11:18:43 PM
If you like musicals, I also recommend watching Dr. Horrible's Sing Along Blog.
#5
Spa Room 101 / Re: Last Word
September 18, 2012, 11:13:16 PM
>.>
#6
Spa Room 101 / Re: Repo! The Genetic Opera
September 18, 2012, 11:06:34 PM
I've only seen bits and pieces of Repo myself, but my friends love it so I would recommend it. It looked pretty awesome from what I saw.
#7
Spa Room 101 / Re: Music!
March 06, 2012, 09:07:36 AM
I listen to videogame music. ._.

"Downstream" from Braid
- http://www.youtube.com/watch?v=W7UVfoXQT6w
"Science is Fun" from Portal 2
- http://www.youtube.com/watch?v=sER1rSv5bd8
"Exile Vilify" from Portal 2
- http://www.youtube.com/watch?v=j8Ke8mhZNus
"TRAUMA" from Ghost Trick
- http://www.youtube.com/watch?v=p9ppkV4QXR8
"Castle" from Persona 4
- http://www.youtube.com/watch?v=XCaAiefczHE
"Clockwork" from Castlevania III
- http://www.youtube.com/watch?v=46bPUSYE1is
"Investigation Start" from Time Hollow
- http://www.youtube.com/watch?v=4HBwkR_Etho
"Ice Fortress" from Cave Story+
- http://www.youtube.com/watch?v=P-RdTjI5bmg
"Twister" from The World Ends With You
- http://www.youtube.com/watch?v=d58sfK8DgM8
"The Sun Rises" from Okami
- http://www.youtube.com/watch?v=ya3yxTbkh5s
"Red Carpet Extend-o-Matic" from World of Goo
- http://www.youtube.com/watch?v=Ku4eLhgsEE0
"Revived Power" from Shadow of the Colossus
- http://www.youtube.com/watch?v=147rTHgKmXY
#8
Spa Room 101 / Re: Chopsticks
March 04, 2012, 04:25:34 PM
A good way to practice with chopsticks is to pick up peanut m&ms. That's actually how I learned how to use them.

In college I went through a phase where I ate -everything- with chopsticks, including rice. It's slower than with a fork but surprisingly easy once you get the hang of it.
#9
Spa Room 101 / Re: Last Word
February 27, 2012, 09:50:11 PM
So. It has come to this.
#10
Spa Room 101 / Re: Java scritpt
February 27, 2012, 08:49:21 PM
I remember coding webpages with my sister when she was 14. Those were fun times. ^_^

HTML is a good place to start. What's wrong with the tutorials on w3schools?
#11
Help / Bugs / Selling troops on market after dying
February 14, 2012, 09:45:23 PM
So I put some troops and food on the market and people were able to purchase them after I died.

Of course I didn't get any profit from this and it's actually kind of nice that those resources didn't go to waste, but I thought I might as well mention it since it could be a bug.
#12
Spa Room 101 / Re: Last Word
January 31, 2012, 06:06:12 PM
Rainbow Dash costume?
#13
Spa Room 101 / Re: Last Word
January 28, 2012, 02:56:26 PM
Apparently Man on a Ledge is not but I still plan to watch it.
#14
Spa Room 101 / Re: Dear friends
January 16, 2012, 07:37:03 PM
My sister hates Nicholas Cage with a burning passion (with the possible exception of National Treasure). So last Christmas I printed out the DVD cover for Season of the Witch, pasted it onto construction paper, wrapped it around a copy of Sherlock Holmes, and then covered the whole thing in plastic wrap to make it look like a new movie. It was actually believable until you noticed the tape holding together the plastic on the back.
#15
Spa Room 101 / Re: Last Word
January 03, 2012, 11:24:10 AM
...