Ishido

:: racket

… in which we attempt to recreate a game from the nineties using the Racket graphical facilities and we manage to do it in less than 1000 lines of code.


Markdown View using the Racket editor%

:: racket

The Racket text% editor class can be used to display multi line text with formatting, such as fonts and colors; it is however, somewhat difficult to set it up and use its formatting capabilities. This blog post shows how to build a text view which allows inserting markdown text and the result will be formatted, with headers, links and images.


Dependency Management in Racket Applications

:: racket

.. in which we look at how to manage the versions of packages used by a Racket application, and ensure that the correct package versions are used when building the application.


Threshold Analysis in ActivityLog2

:: activitylog2

A dashboard for ActivityLog2 which allows determining threshold power, pace and heart rate for a running or cycling activity, and can set sport zones based on these values. To make things a bit more interesting, the dashboard also allows inspecting the activity interactively to see where the “best” segments are.


A Game of Tetris (user interface)

:: racket

The previous blog post introduced the Tetris game mechanics and made the game playable. In this blog post we’ll look at how to build an actual GUI application around the game mechanics: we’ll keep score, increase difficulty, peek at the next block and more. As we do that, we’ll explore some more interesting things you can do with the Racket pict library, and look at some of the GUI facilities available in Racket.


A Game of Tetris (gameplay)

:: racket

.. in which we implement a Tetris game step-by-step in Racket, exploring pict graphics, contracts and unit tests.


Dual Axis Plots

:: racket, data visualization

… in which we explore how to show on the same plot two data series that have different data ranges. The Racket Plot package does not support this functionality directly, but with the help of some data transformation, we can still achieve good results.


© Alex Harsányi, licensed under CC BY-NC-SA 4.0 , and there's a cookie policy.