Commit Graph

43 Commits

Author SHA1 Message Date
Juergen Stuber
5f4624dab2 Add game of life 2023-04-11 22:39:33 +02:00
Juergen Stuber
7fe895f041 Replace the local implementation of 2d geometry by lowdim
This also forces an update of the rand dependency,
so while we are at it we update all the dependencies.
2023-04-10 01:00:41 +02:00
Juergen Stuber
3ddb2b4f22 Dim chars colors. 2018-12-31 23:19:44 +01:00
Juergen Stuber
dcf82ab20c Initialize chars. 2018-12-31 21:46:55 +01:00
Juergen Stuber
f5a2f12990 Make chars more colorful. 2018-12-31 21:02:06 +01:00
Juergen Stuber
75ca3a28e5 Slow down chars mode. 2018-12-31 20:34:58 +01:00
Juergen Stuber
360bc5f392 Fix chars again. 2018-12-31 20:28:49 +01:00
Juergen Stuber
7db7664217 Fix chars mode. 2018-12-31 20:18:37 +01:00
Juergen Stuber
c1be631dcb Add chars mode. 2018-12-31 20:03:59 +01:00
Juergen Stuber
eff04faee4 Preset colored noise. 2018-12-28 14:57:41 +01:00
Juergen Stuber
eb7ac1c1f1 Set some pixels to black in colored noise. 2018-12-28 14:47:58 +01:00
Juergen Stuber
67368db0e4 Push colors towards blue instead of green. 2018-12-28 14:47:36 +01:00
Juergen Stuber
92eac483d1 Push colors more towards blue in colored noise. 2018-12-28 14:42:15 +01:00
Juergen Stuber
3597cafeaa Choose colors from official 35C3 range for colored noise. 2018-12-28 14:35:37 +01:00
Juergen Stuber
81c2de67e1 Add colored noise mode.g 2018-12-28 13:47:11 +01:00
Juergen Stuber
1146a04baa Fix minimal loop time for mood light. 2018-12-28 13:09:14 +01:00
Juergen Stuber
06a4a383c4 Set minimum parameter to more sensible value. 2018-12-21 21:56:47 +01:00
Juergen Stuber
7bf5bf22d4 Fix Eq for Move so that it agrees with Ord, as required. 2018-12-03 20:36:50 +01:00
Juergen Stuber
e60c0b26eb Use priority queue for next move to make in mazes.
This is the proper data structure to use.
No more of this regularly resorting a vector rubbish.
2018-12-03 20:20:04 +01:00
Juergen Stuber
292ebed18d Fix colors and digit position wrt duality in dual maze. 2018-12-02 16:07:58 +01:00
Juergen Stuber
c4d45a9016 Draw time of day in the mazes. 2018-12-02 15:57:24 +01:00
Juergen Stuber
4c5d693dfd Display priorities. 2018-12-02 15:56:26 +01:00
Juergen Stuber
3158928015 Fix 7 segment order.
Segments for bits 4 and 5 were swapped with respect to the standard order.
2018-12-02 15:54:22 +01:00
Juergen Stuber
85ff8c6c62 Adapt methods from dual maze to original maze. 2018-12-02 14:39:59 +01:00
Juergen Stuber
045f03374d Change priorities so that higher numbers have higher priority. 2018-12-02 14:39:04 +01:00
Juergen Stuber
af5e1db20a Replace macros for 2d literals by functions. 2018-12-02 14:21:59 +01:00
Juergen Stuber
9877915249 Allow gradual priorities for horizontal or vertical structures. 2018-12-02 10:26:24 +01:00
Juergen Stuber
b73101be65 Add dual maze.
Builds walls instead of corridors.
2018-12-01 20:09:00 +01:00
Juergen Stuber
3761bcfccf Use neighbours method in predator and prey. 2018-12-01 14:41:19 +01:00
Juergen Stuber
6009f627ae Fix predator and prey so that growth is again possible. 2018-12-01 14:40:50 +01:00
Juergen Stuber
4393f700bc Abstract out board in predator and prey. 2018-12-01 14:29:06 +01:00
Juergen Stuber
1a1129d343 Abstract out rectangles. 2018-12-01 11:49:45 +01:00
Juergen Stuber
de52bca34e Use 2d stuff in predator & prey animation. 2018-12-01 10:04:23 +01:00
Juergen Stuber
3389551f05 Rename everything from suffix 2 to 2d for clarity. 2018-12-01 10:03:58 +01:00
Juergen Stuber
c3ca8888fd Factor out two-dimensional arithmetic from maze. 2018-11-30 22:15:25 +01:00
Juergen Stuber
610c864cd9 Factor out color handling into common module. 2018-11-30 20:34:08 +01:00
Juergen Stuber
e15ac35f18 Darken the blue. 2018-11-28 22:11:14 +01:00
Juergen Stuber
742184580e Make walls blue again. 2018-11-28 22:03:40 +01:00
Juergen Stuber
e90e8072c3 Use darker brown for walls. 2018-11-28 19:00:02 +01:00
Juergen Stuber
e43b0271a9 Try different brown. 2018-11-28 18:57:09 +01:00
Juergen Stuber
354a0cf4b2 Color walls brown. 2018-11-28 18:54:10 +01:00
Juergen Stuber
793fc69e1e Start drawing the maze immediately to avoid flicker. 2018-11-28 18:24:51 +01:00
Juergen Stuber
759c9c4f8a Initial commit. 2018-11-28 16:02:33 +01:00