Mathematical and Physical Journal
for High Schools
Issued by the MATFUND Foundation
Already signed up?
New to KöMaL?

Problem I. 138. (September 2006)

I. 138. Prepare a JPG file containing the word Kömal using bold Arial font in 72pt size. The first letter is capitalized and the upper left corner of the picture should be the same as the upper left corner of the letter K. Make a client side map (using the <map> command in html). You should cover the image with at least 95% accuracy using the least possible number of coordinates. Upon clicking on black pixels of the image, your browser should open the site www.komal.hu, while clicking on white regions should have no effect. The JPG and HTML files should be submitted.

(10 pont)

Deadline expired on October 16, 2006.


Sorry, the solution is available only in Hungarian. Google translation

Megoldás: (Czigler András 12. osztályos pécsi versenyző munkája alapján)

Készítsünk egy "KöMaL" szöveget fehér alapon fekete betűkkel tartalmazó JPG állományt. Ezután a képszerkesztő program segítségével járjuk végig az egyes betűket, jegyezzük föl azok körvonalát.

Hozzuk létre a képet térképként felhasználó weboldalt:

<html>

<head>
<title>KoMaL I138</title>
</head>

<body>

<map name="KoMaL">
<area href="http://www.komal.hu" shape="polygon" coords="0, 0, 0, 68, 15, 68, 15, 45, 27, 33, 47, 68, 60,
67, 36, 26, 59, 0, 45, 0, 13, 31, 14, 0, 4, 0">

<area href="http://www.komal.hu" shape="rect" coords="76, 0, 88, 13">
<area href="http://www.komal.hu" shape="rect" coords="97, 0, 109, 13">
<area href="http://www.komal.hu" shape="polygon" coords="93, 69, 93, 60, 105, 52, 103, 31, 88, 27, 78, 41,
81, 55, 93, 60, 93, 69, 72, 60, 65, 43, 71, 26, 87, 17, 109, 21, 118, 37, 114, 60">
<area href="http://www.komal.hu" shape="polygon" coords="127, 67, 139, 67, 140, 34, 147, 26, 157, 29, 157,
68, 170, 67, 170, 30, 184, 27, 187, 35, 187, 68, 198, 67, 198, 30, 190, 18, 174, 19, 169, 24, 160, 17, 149,
18, 140, 26, 140, 19, 127, 19">

<area href="http://www.komal.hu" shape="polygon" coords="222, 32, 213, 29, 220, 18, 247, 19, 254, 32, 253,
61, 258, 68, 242, 68, 242, 62, 228, 67, 215, 66, 209, 54, 215, 43, 241, 36, 241, 44, 223, 48, 223, 60, 238,
57, 242, 30, 234, 27">
<area href="http://www.komal.hu" shape="rect" coords="266, 0, 281, 68">
</map>

<img border="0" src="i138.jpg" usemap="#KoMaL"></div>

</body>

</html>
A betűk egyenes részein téglalap alakú tartományokat adunk meg, az íveket sokszögekkel közelítjük.

A megoldás letölthető formában :

i138m.zip


Statistics:

38 students sent a solution.
10 points:Balambér Dávid, Biró János, Csubák Dániel, Czigler András, Danka Miklós András, Fábián András, Fehér András, Földes Imre, Gilián Zoltán, Gombos Gergely, Gulyás 990 Péter, Györök Péter, Halász Dávid, Hudoba Péter, Jégh Tamás, Kiss Dániel Miklós, Kovács András, Molnár Gábor, Peák Bálint, Polgárfi Bálint, Ridinger Tamás, Rimay Zoé, Slemmer András, Szél Péter, Szoldatics András, Takács László, Véges Márton, Vincze János.
9 points:Balázs Bálint, Csima Géza, Dancsó Péter, Kalló Bernát, Kovács 129 Péter, Ócsvári Ádám.
8 points:1 student.
7 points:1 student.
5 points:1 student.
0 point:1 student.

Problems in Information Technology of KöMaL, September 2006