<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tinycity, branch master</title>
<subtitle>Simple city builder, so I can learn some Racket
</subtitle>
<id>http://git.twilken.net/tinycity/atom?h=master</id>
<link rel='self' href='http://git.twilken.net/tinycity/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.twilken.net/tinycity/'/>
<updated>2019-12-08T20:57:17Z</updated>
<entry>
<title>Add global menu bar.</title>
<updated>2019-12-08T20:57:17Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2019-12-08T20:57:17Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/tinycity/commit/?id=d2667c61d91aeb4d3bec8d656c7a3bda165e0f5a'/>
<id>urn:sha1:d2667c61d91aeb4d3bec8d656c7a3bda165e0f5a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use main-canvas and world singleton classes.</title>
<updated>2019-11-19T13:16:55Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2019-11-19T13:16:55Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/tinycity/commit/?id=43c851b1a4a6bf1c22a8ff92229237d7365e51af'/>
<id>urn:sha1:43c851b1a4a6bf1c22a8ff92229237d7365e51af</id>
<content type='text'>
Don't assign names to these classes, as they're only instantiated once.
</content>
</entry>
<entry>
<title>Use a submodule module to show the main window.</title>
<updated>2019-11-17T00:08:30Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2019-11-17T00:08:30Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/tinycity/commit/?id=edcf65fe2623f0a2b6a688e14cd223bf35d8b1ce'/>
<id>urn:sha1:edcf65fe2623f0a2b6a688e14cd223bf35d8b1ce</id>
<content type='text'>
This is apparently similar to Python's if __name__ == '__main__': ...; the code
in the main module is only executed when the file is run, not imported.
</content>
</entry>
<entry>
<title>Use typed/racket instead of plain racket.</title>
<updated>2019-11-16T23:46:07Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2019-11-16T23:46:07Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/tinycity/commit/?id=47e4d5e3e3b631ec3553aa35a970fe81e89eac91'/>
<id>urn:sha1:47e4d5e3e3b631ec3553aa35a970fe81e89eac91</id>
<content type='text'>
This commit adds type information to most top-level constants and procedures.
Using types should improve rendering performance as contracts needn't be
evaluated. Subjectively, it seems like there is less stutter when scrolling now!
</content>
</entry>
<entry>
<title>Try profiling slow redraws-on-scroll.</title>
<updated>2019-11-12T23:36:39Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2019-11-12T23:36:39Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/tinycity/commit/?id=13508292809af1326e920f82f9530bc8b93e38b8'/>
<id>urn:sha1:13508292809af1326e920f82f9530bc8b93e38b8</id>
<content type='text'>
It seems like dynamically creating pens and brushes every time they're used
takes up ~20% of processing time, so extract them to top-level definitions.
</content>
</entry>
<entry>
<title>Forget about power lines for now.</title>
<updated>2019-11-12T20:55:54Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2019-11-12T20:55:54Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/tinycity/commit/?id=412a08486e92efb6cda2da50b0cddb29df6c42dc'/>
<id>urn:sha1:412a08486e92efb6cda2da50b0cddb29df6c42dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Support for removing roads.</title>
<updated>2019-11-12T14:30:28Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2019-11-12T14:30:28Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/tinycity/commit/?id=5ebc0061408955274bb8c46508b68ffc4c5beb45'/>
<id>urn:sha1:5ebc0061408955274bb8c46508b68ffc4c5beb45</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Place roads on mouse click.</title>
<updated>2019-11-12T09:19:08Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2019-11-12T09:19:08Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/tinycity/commit/?id=d7f79709b343795d76c07ee744558a9d77628bc1'/>
<id>urn:sha1:d7f79709b343795d76c07ee744558a9d77628bc1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>More initial roads.</title>
<updated>2019-11-11T23:20:08Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2019-11-11T23:20:08Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/tinycity/commit/?id=d374e0878a08618cc1b12cd14100afb8da17eea0'/>
<id>urn:sha1:d374e0878a08618cc1b12cd14100afb8da17eea0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid apply in curry.</title>
<updated>2019-11-11T23:17:52Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2019-11-11T23:17:52Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/tinycity/commit/?id=764d154bd129d2578817c3bf2998351801a2f29b'/>
<id>urn:sha1:764d154bd129d2578817c3bf2998351801a2f29b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use for-each for adding initial roads.</title>
<updated>2019-11-11T23:15:40Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2019-11-11T23:15:40Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/tinycity/commit/?id=ee503e05d150729eb2bddf4e73f14fe8b5641638'/>
<id>urn:sha1:ee503e05d150729eb2bddf4e73f14fe8b5641638</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add beginnings of GUI; improve road placement.</title>
<updated>2019-11-11T23:02:49Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2019-11-11T23:02:49Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/tinycity/commit/?id=3cf3b259826d1b59650a887b7149e1c92bfe707c'/>
<id>urn:sha1:3cf3b259826d1b59650a887b7149e1c92bfe707c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add canvas view-start to mouse event x and y.</title>
<updated>2019-11-11T12:34:51Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2019-11-11T12:34:51Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/tinycity/commit/?id=e41459671dbf7114b9d384a2a8a20a8db67f427e'/>
<id>urn:sha1:e41459671dbf7114b9d384a2a8a20a8db67f427e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>License project under the MIT Licence.</title>
<updated>2019-11-11T00:55:21Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2019-11-11T00:55:21Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/tinycity/commit/?id=bbc3f29cd3838063c8e612c9cb64ca20e3566270'/>
<id>urn:sha1:bbc3f29cd3838063c8e612c9cb64ca20e3566270</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow scrolling the canvas using the mouse wheel.</title>
<updated>2019-11-11T00:46:55Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2019-11-11T00:46:55Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/tinycity/commit/?id=ff8ccae7351030110c6388a71c458ec4b92920b6'/>
<id>urn:sha1:ff8ccae7351030110c6388a71c458ec4b92920b6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Simple but working road drawing; first attempt at storing the world.</title>
<updated>2019-11-10T15:14:14Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2019-11-10T15:14:14Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/tinycity/commit/?id=6f914efa965828b09b54aec8b7b2fb3bab2989d6'/>
<id>urn:sha1:6f914efa965828b09b54aec8b7b2fb3bab2989d6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Simplify code: use define/match, remove pos structs.</title>
<updated>2019-11-09T14:53:21Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2019-11-09T14:53:21Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/tinycity/commit/?id=138e2b982b62392c04a867091007a8a2479101c6'/>
<id>urn:sha1:138e2b982b62392c04a867091007a8a2479101c6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use values instead of tile-pos struct for some coordinates.</title>
<updated>2019-11-09T11:15:19Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2019-11-09T11:15:19Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/tinycity/commit/?id=56d420c2d1804d3244e3dec5ba41fa8db870edbd'/>
<id>urn:sha1:56d420c2d1804d3244e3dec5ba41fa8db870edbd</id>
<content type='text'>
This simplifies getting the position's components.
</content>
</entry>
<entry>
<title>Add readme.</title>
<updated>2019-11-09T00:09:22Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2019-11-09T00:09:22Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/tinycity/commit/?id=85c906ab5b33860238c87a12760dd87e36d260ab'/>
<id>urn:sha1:85c906ab5b33860238c87a12760dd87e36d260ab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Try drawing road tiles with different edges connected.</title>
<updated>2019-11-09T00:03:57Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2019-11-09T00:03:57Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/tinycity/commit/?id=8ced19f2acfd6fc1094b2eef1f382402a9318a91'/>
<id>urn:sha1:8ced19f2acfd6fc1094b2eef1f382402a9318a91</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use tile-pos and subtile-pos structs.</title>
<updated>2019-11-08T17:54:24Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2019-11-08T17:54:24Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/tinycity/commit/?id=86c3eb57948feba640e926ffd77f3cffffddd73c'/>
<id>urn:sha1:86c3eb57948feba640e926ffd77f3cffffddd73c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Enable toggling debugging grid.</title>
<updated>2019-11-08T17:03:03Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2019-11-08T17:03:03Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/tinycity/commit/?id=f110871fb958ca70f2c21701e8fdc3debed1be16'/>
<id>urn:sha1:f110871fb958ca70f2c21701e8fdc3debed1be16</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Draw tiles directly without intermediate bitmaps.</title>
<updated>2019-11-08T16:54:09Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2019-11-08T16:53:10Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/tinycity/commit/?id=f127d482fffb07787845619ba79089b6ff93ea4f'/>
<id>urn:sha1:f127d482fffb07787845619ba79089b6ff93ea4f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Some basic tiles work, and roads can be drawn with a length.</title>
<updated>2019-11-08T15:53:54Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2019-11-08T15:53:54Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/tinycity/commit/?id=4278c43325510b8d13b2b46b602480cad9dea04f'/>
<id>urn:sha1:4278c43325510b8d13b2b46b602480cad9dea04f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Get started using racket/gui and racket/draw.</title>
<updated>2019-11-08T14:54:46Z</updated>
<author>
<name>Timo Wilken</name>
</author>
<published>2019-11-08T14:54:46Z</published>
<link rel='alternate' type='text/html' href='http://git.twilken.net/tinycity/commit/?id=f28ef860e7f199cb1dc03cd93cc4c5f59c93aee9'/>
<id>urn:sha1:f28ef860e7f199cb1dc03cd93cc4c5f59c93aee9</id>
<content type='text'>
This initial commit is for trying out Racket's graphics facilities.
</content>
</entry>
</feed>
