screensavers/.git
14 months agoAdded missing newline in NEDsim error message. master origin/HEAD origin/master
Aaron Taylor [Thu, 9 Feb 2023 05:06:38 +0000 (21:06 -0800)]
Added missing newline in NEDsim error message.

14 months agoFixed minor typo in Makefile comment.
Aaron Taylor [Thu, 9 Feb 2023 05:06:10 +0000 (21:06 -0800)]
Fixed minor typo in Makefile comment.

2 years agoFixed minor typo in Makefile comment.
Aaron Taylor [Wed, 14 Jul 2021 20:27:16 +0000 (13:27 -0700)]
Fixed minor typo in Makefile comment.

2 years agoAdded 'long division' as new embedded program for NEDsim.
Aaron Taylor [Tue, 13 Jul 2021 01:58:33 +0000 (18:58 -0700)]
Added 'long division' as new embedded program for NEDsim.

2 years agoInitial commit of README for NEDsim. Still lacks an Overview section.
Aaron Taylor [Mon, 12 Jul 2021 22:36:40 +0000 (15:36 -0700)]
Initial commit of README for NEDsim. Still lacks an Overview section.

2 years agoFixed some space characters that slipped into the Makefile.
Aaron Taylor [Mon, 12 Jul 2021 21:57:04 +0000 (14:57 -0700)]
Fixed some space characters that slipped into the Makefile.

2 years agoAdded ability to directly embed NED programs in NEDsim binary for runtime execution.
Aaron Taylor [Mon, 12 Jul 2021 21:49:30 +0000 (14:49 -0700)]
Added ability to directly embed NED programs in NEDsim binary for runtime execution.

2 years agoFixed bug. The SC now correctly displays the currently executing syllable.
Aaron Taylor [Sun, 11 Jul 2021 03:15:24 +0000 (20:15 -0700)]
Fixed bug. The SC now correctly displays the currently executing syllable.

2 years agoRemoving TODO related to freeing X-related allocations. The only things we aren't...
Aaron Taylor [Sun, 11 Jul 2021 02:01:20 +0000 (19:01 -0700)]
Removing TODO related to freeing X-related allocations. The only things we aren't freeing are color allocations and I'm not worried about running out of color slots before the program terminates.

2 years agoCleaned up set_font_size() in NEDsim. Leaving the inefficient version since we only...
Aaron Taylor [Sun, 11 Jul 2021 01:52:51 +0000 (18:52 -0700)]
Cleaned up set_font_size() in NEDsim. Leaving the inefficient version since we only call it twice.

2 years agoCleaned up all the helper and drawing function areas in NEDsim.
Aaron Taylor [Sun, 11 Jul 2021 01:38:05 +0000 (18:38 -0700)]
Cleaned up all the helper and drawing function areas in NEDsim.

2 years agoSince draw_rect_area() changes the foreground color anyway, added foreground color...
Aaron Taylor [Sun, 11 Jul 2021 00:57:03 +0000 (17:57 -0700)]
Since draw_rect_area() changes the foreground color anyway, added foreground color argument and removed prep calls to set_color().

2 years agoSince we are not longer trying to remain C89 compliant for XScreensaver, reduce the...
Aaron Taylor [Sun, 11 Jul 2021 00:49:17 +0000 (17:49 -0700)]
Since we are not longer trying to remain C89 compliant for XScreensaver, reduce the scope of a few loop counters.

2 years agoSince there is no point drawing blank lights during initialization, we no longer...
Aaron Taylor [Sun, 11 Jul 2021 00:45:23 +0000 (17:45 -0700)]
Since there is no point drawing blank lights during initialization, we no longer do so.

2 years agoAdded COLOR() macro to NEDsim for ease of reading.
Aaron Taylor [Sun, 11 Jul 2021 00:41:35 +0000 (17:41 -0700)]
Added COLOR() macro to NEDsim for ease of reading.

2 years agoAdded draw_text() to NEDsim and refactored all the drawing functions to use it.
Aaron Taylor [Sun, 11 Jul 2021 00:31:43 +0000 (17:31 -0700)]
Added draw_text() to NEDsim and refactored all the drawing functions to use it.

2 years agoIn NEDsim, display as many data rows as possible instead of a power-of-two.
Aaron Taylor [Sat, 10 Jul 2021 22:56:01 +0000 (15:56 -0700)]
In NEDsim, display as many data rows as possible instead of a power-of-two.

2 years agoMinor cleanup of helper functions in NEDsim.
Aaron Taylor [Sat, 10 Jul 2021 22:53:16 +0000 (15:53 -0700)]
Minor cleanup of helper functions in NEDsim.

2 years agoConsolidated #defines for NEDsim.
Aaron Taylor [Sat, 10 Jul 2021 21:42:01 +0000 (14:42 -0700)]
Consolidated #defines for NEDsim.

2 years agoAdded missing include guard to simulator header file.
Aaron Taylor [Sat, 10 Jul 2021 21:23:40 +0000 (14:23 -0700)]
Added missing include guard to simulator header file.

2 years agoCleaned up XScreensaver portion of NEDsim.c.
Aaron Taylor [Sat, 10 Jul 2021 20:39:21 +0000 (13:39 -0700)]
Cleaned up XScreensaver portion of NEDsim.c.

2 years agoAdded multiple colors schemes and CLI option to select them.
Aaron Taylor [Fri, 9 Jul 2021 21:18:51 +0000 (14:18 -0700)]
Added multiple colors schemes and CLI option to select them.
Also cleaned up comments in 'data structures' portion of NEDsim code.

2 years agoMade NEDsim double-buffered.
Aaron Taylor [Fri, 9 Jul 2021 19:59:58 +0000 (12:59 -0700)]
Made NEDsim double-buffered.

2 years agoPruned #includes for NEDsim simulator files.
Aaron Taylor [Fri, 9 Jul 2021 01:45:27 +0000 (18:45 -0700)]
Pruned #includes for NEDsim simulator files.

2 years agoMinor cleanup in NEDsim.c, removing old TODO items, old code, etc.
Aaron Taylor [Fri, 9 Jul 2021 01:40:15 +0000 (18:40 -0700)]
Minor cleanup in NEDsim.c, removing old TODO items, old code, etc.

2 years agoAdded Makefile for NEDsim.
Aaron Taylor [Fri, 9 Jul 2021 01:35:45 +0000 (18:35 -0700)]
Added Makefile for NEDsim.

2 years agoAddressed minor TODOs in simulator.c
Aaron Taylor [Fri, 9 Jul 2021 01:31:36 +0000 (18:31 -0700)]
Addressed minor TODOs in simulator.c

2 years agoMade most functions in NEDsim simulator static.
Aaron Taylor [Fri, 9 Jul 2021 01:28:22 +0000 (18:28 -0700)]
Made most functions in NEDsim simulator static.

2 years agoPruned #includes and made minor cleanups in NEDsim header file.
Aaron Taylor [Fri, 9 Jul 2021 01:24:57 +0000 (18:24 -0700)]
Pruned #includes and made minor cleanups in NEDsim header file.

2 years agoAdded `-binary` CLI flag to NEDsim for loading a.out format programs.
Aaron Taylor [Fri, 9 Jul 2021 01:17:59 +0000 (18:17 -0700)]
Added `-binary` CLI flag to NEDsim for loading a.out format programs.

2 years agoTrimmed down NEDsim to a single CPU, single thread, 64MB RAM, 64k element stack,...
Aaron Taylor [Fri, 9 Jul 2021 00:18:01 +0000 (17:18 -0700)]
Trimmed down NEDsim to a single CPU, single thread, 64MB RAM, 64k element stack, no SLU, and no MVSTCK syllable (and still no CMPSWP syllable).

2 years agoAdded 'antialiased fonts' to improvement list for NEDsim. Not going to mess with...
Aaron Taylor [Thu, 8 Jul 2021 23:42:23 +0000 (16:42 -0700)]
Added 'antialiased fonts' to improvement list for NEDsim. Not going to mess with font stuff right now.

2 years agoNow NEDsim maintains the simulator when the window resizes, only resetting the displa...
Aaron Taylor [Thu, 8 Jul 2021 23:35:08 +0000 (16:35 -0700)]
Now NEDsim maintains the simulator when the window resizes, only resetting the display portion of the state struct.

2 years agoAdded rounded panel corners to NEDsim.
Aaron Taylor [Thu, 8 Jul 2021 23:30:23 +0000 (16:30 -0700)]
Added rounded panel corners to NEDsim.

2 years agoAdded 'improvements' file for NEDsim hack to avoid scope creep.
Aaron Taylor [Thu, 8 Jul 2021 23:06:04 +0000 (16:06 -0700)]
Added 'improvements' file for NEDsim hack to avoid scope creep.

2 years agoAdded NEDsim to list in hack directory README.
Aaron Taylor [Thu, 8 Jul 2021 23:04:07 +0000 (16:04 -0700)]
Added NEDsim to list in hack directory README.

2 years agoInitial commit of NED1 front panel code I've been hacking on.
Aaron Taylor [Thu, 8 Jul 2021 22:59:01 +0000 (15:59 -0700)]
Initial commit of NED1 front panel code I've been hacking on.

Thus far, it draws and XScreensaver compatible, dynamically sized front panel
and glues it to a simplified NEDsim instance.

The a.out format input file is hardcoded as "./test.out", and many other things
are hardcoded/WIP at this time, but the basic simulator runs NED code and
displays (with poor visual synchronization) the correct state.

2 years agoMinor change to WolframAutomata README.
Aaron Taylor [Sat, 12 Jun 2021 23:57:48 +0000 (16:57 -0700)]
Minor change to WolframAutomata README.

2 years agoSmall changes after proof-reading of WolframAutomata README.
Aaron Taylor [Sat, 12 Jun 2021 21:39:46 +0000 (14:39 -0700)]
Small changes after proof-reading of WolframAutomata README.

2 years agoGeneral proofreading and cleanup of WolframAutomata.c
Aaron Taylor [Sat, 12 Jun 2021 21:28:52 +0000 (14:28 -0700)]
General proofreading and cleanup of WolframAutomata.c

2 years agoOne more gitweb-related formatting change to example config file.
Aaron Taylor [Fri, 11 Jun 2021 02:39:36 +0000 (19:39 -0700)]
One more gitweb-related formatting change to example config file.

2 years agoChanged formatting of one example config file for better display in gitweb.
Aaron Taylor [Fri, 11 Jun 2021 02:38:05 +0000 (19:38 -0700)]
Changed formatting of one example config file for better display in gitweb.

2 years agoUpdated XScreensaver integration notes for WolframAutomata now that CLI flags are...
Aaron Taylor [Fri, 11 Jun 2021 02:34:28 +0000 (19:34 -0700)]
Updated XScreensaver integration notes for WolframAutomata now that CLI flags are finished.

2 years agoUpdated list of possible improvements for WolframAutomata.
Aaron Taylor [Fri, 11 Jun 2021 00:52:56 +0000 (17:52 -0700)]
Updated list of possible improvements for WolframAutomata.

2 years agoRegrouped CLI options by function in WolframAutomata.c
Aaron Taylor [Fri, 11 Jun 2021 00:48:27 +0000 (17:48 -0700)]
Regrouped CLI options by function in WolframAutomata.c

2 years agoAdded reminder note to top of WolframAutomata for C89 compliance.
Aaron Taylor [Fri, 11 Jun 2021 00:45:16 +0000 (17:45 -0700)]
Added reminder note to top of WolframAutomata for C89 compliance.

2 years agoUpdated WolframAutomata to be C89 compliant.
Aaron Taylor [Fri, 11 Jun 2021 00:42:56 +0000 (17:42 -0700)]
Updated WolframAutomata to be C89 compliant.

2 years agoReworked CLI flags for starting seed in README and WolframAutomata source.
Aaron Taylor [Thu, 10 Jun 2021 23:20:20 +0000 (16:20 -0700)]
Reworked CLI flags for starting seed in README and WolframAutomata source.

2 years agoUpdated WolframAutomata's rule related CLI flags to match README.
Aaron Taylor [Thu, 10 Jun 2021 22:24:18 +0000 (15:24 -0700)]
Updated WolframAutomata's rule related CLI flags to match README.

2 years agoUpdated WolframAutomata's simulation speed related CLI flags to match README.
Aaron Taylor [Thu, 10 Jun 2021 22:12:25 +0000 (15:12 -0700)]
Updated WolframAutomata's simulation speed related CLI flags to match README.

2 years agoUpdated WolframAutomata's simulation length related CLI flags to match README.
Aaron Taylor [Thu, 10 Jun 2021 22:09:47 +0000 (15:09 -0700)]
Updated WolframAutomata's simulation length related CLI flags to match README.

2 years agoAdded some context to XScreensaver config file in WolframAutomata README.
Aaron Taylor [Thu, 10 Jun 2021 21:59:07 +0000 (14:59 -0700)]
Added some context to XScreensaver config file in WolframAutomata README.

2 years agoCollection of minor updates to WolframAutomata README.
Aaron Taylor [Thu, 10 Jun 2021 21:47:39 +0000 (14:47 -0700)]
Collection of minor updates to WolframAutomata README.

2 years agoCleaned up CLI flags for cell size in WolframAutomata source code and README.
Aaron Taylor [Thu, 10 Jun 2021 21:46:50 +0000 (14:46 -0700)]
Cleaned up CLI flags for cell size in WolframAutomata source code and README.

2 years agoUpdated WolframAutomata's admiration window related flags to match README.
Aaron Taylor [Wed, 9 Jun 2021 02:19:20 +0000 (19:19 -0700)]
Updated WolframAutomata's admiration window related flags to match README.

2 years agoUpdated WolframAutomata's color related CLI flags to match README.
Aaron Taylor [Wed, 9 Jun 2021 02:09:35 +0000 (19:09 -0700)]
Updated WolframAutomata's color related CLI flags to match README.

2 years agoAdded XScreensaver integration notes to WolframAutomata README.
Aaron Taylor [Wed, 9 Jun 2021 00:59:49 +0000 (17:59 -0700)]
Added XScreensaver integration notes to WolframAutomata README.

2 years agoAdded CLI flags to README for WolframAutomata.
Aaron Taylor [Wed, 9 Jun 2021 00:47:35 +0000 (17:47 -0700)]
Added CLI flags to README for WolframAutomata.

2 years agoAdded a file for future hack ideas.
Aaron Taylor [Mon, 7 Jun 2021 22:21:58 +0000 (15:21 -0700)]
Added a file for future hack ideas.

2 years agoAdded a list of future improvements to be made.
Aaron Taylor [Mon, 7 Jun 2021 22:21:22 +0000 (15:21 -0700)]
Added a list of future improvements to be made.

2 years agoOne more update to previous two commits. Forgot a '#include'.
Aaron Taylor [Mon, 7 Jun 2021 22:11:25 +0000 (15:11 -0700)]
One more update to previous two commits. Forgot a '#include'.

2 years agoAdded additional note to previous commit. Forgot to mention linker flags.
Aaron Taylor [Mon, 7 Jun 2021 22:10:09 +0000 (15:10 -0700)]
Added additional note to previous commit. Forgot to mention linker flags.

2 years agoAdded notes on generating screenshots of running hacks.
Aaron Taylor [Mon, 7 Jun 2021 22:08:44 +0000 (15:08 -0700)]
Added notes on generating screenshots of running hacks.

2 years agoAdded two screenshots of WolframAutomata in operation.
Aaron Taylor [Mon, 7 Jun 2021 02:38:58 +0000 (19:38 -0700)]
Added two screenshots of WolframAutomata in operation.

2 years agoAdded basic README to WolframAutomata.
Aaron Taylor [Mon, 7 Jun 2021 02:38:36 +0000 (19:38 -0700)]
Added basic README to WolframAutomata.

2 years agoRemoved manpage reference in Makefile for WolframAutomata.
Aaron Taylor [Sat, 29 May 2021 21:47:23 +0000 (14:47 -0700)]
Removed manpage reference in Makefile for WolframAutomata.

2 years agoAdded README for `hacks/` that one-sentence-summarizes the hacks contained within.
Aaron Taylor [Sat, 29 May 2021 00:53:10 +0000 (17:53 -0700)]
Added README for `hacks/` that one-sentence-summarizes the hacks contained within.

2 years agoFirst 'working' version of WolframAutomata for FreeBSD. Still has an XFreeGC() proble...
Aaron Taylor [Sat, 29 May 2021 00:28:42 +0000 (17:28 -0700)]
First 'working' version of WolframAutomata for FreeBSD. Still has an XFreeGC() problem on Linux.

3 years agoModified WolframAutomata to loop with new settings upon completing a simulation.
Aaron Taylor [Sun, 21 Mar 2021 23:14:22 +0000 (16:14 -0700)]
Modified WolframAutomata to loop with new settings upon completing a simulation.

3 years agoAdded CLI options -random-num-generations, -random-pixel-size, and -random-delay...
Aaron Taylor [Tue, 16 Mar 2021 10:01:14 +0000 (03:01 -0700)]
Added CLI options -random-num-generations, -random-pixel-size, and -random-delay to WolframAutomata.

3 years agoWolframAutomata now uses a black background for the pixmap, reserving the fg/bg color...
Aaron Taylor [Tue, 16 Mar 2021 05:49:03 +0000 (22:49 -0700)]
WolframAutomata now uses a black background for the pixmap, reserving the fg/bg colors for active/inactive cells.

3 years agoAdded several fg:bg color pairs to color_list[] for use with -default-colors CLI...
Aaron Taylor [Tue, 16 Mar 2021 01:15:25 +0000 (18:15 -0700)]
Added several fg:bg color pairs to color_list[] for use with -default-colors CLI flag in WolframAutomata.

3 years agoMisc 'catchup' commit on WolframAutomata.c.
Aaron Taylor [Mon, 15 Mar 2021 15:39:05 +0000 (08:39 -0700)]
Misc 'catchup' commit on WolframAutomata.c.

3 years agoAdded ability to set fg/bg color in WolframAutomata.
Aaron Taylor [Mon, 15 Mar 2021 15:33:11 +0000 (08:33 -0700)]
Added ability to set fg/bg color in WolframAutomata.

3 years agoAdded curated list of rule/seed combinations to WolframAutomata for use when user...
Aaron Taylor [Mon, 15 Mar 2021 12:50:48 +0000 (05:50 -0700)]
Added curated list of rule/seed combinations to WolframAutomata for use when user doesn't select anything specific.

3 years agoAdded CLI flags to WolframAutomata allowing user to specify starting population.
Aaron Taylor [Mon, 15 Mar 2021 11:39:52 +0000 (04:39 -0700)]
Added CLI flags to WolframAutomata allowing user to specify starting population.

3 years agoAdded CLI options for requesting a specific rule, random rules, or random curated...
Aaron Taylor [Sun, 14 Mar 2021 10:46:41 +0000 (03:46 -0700)]
Added CLI options for requesting a specific rule, random rules, or random curated rules in WolframAutomata.
Also bumped up the default delay by 10x.

3 years agoAdded "number of generations" as a command line flag to WolframAutomata.
Aaron Taylor [Sun, 14 Mar 2021 08:37:49 +0000 (00:37 -0800)]
Added "number of generations" as a command line flag to WolframAutomata.
Also bumped default size of pixels from 1x1 to 2x2 given how many high DPI displays exist now.

3 years agoCorrectly store pointer to new state struct with screenhack framework on window resiz...
Aaron Taylor [Sun, 14 Mar 2021 08:12:44 +0000 (00:12 -0800)]
Correctly store pointer to new state struct with screenhack framework on window resize events.

3 years agoAdded option to increase pixel size in WolframAutomata from 1x1 to NxN as command...
Aaron Taylor [Sun, 14 Mar 2021 08:08:42 +0000 (00:08 -0800)]
Added option to increase pixel size in WolframAutomata from 1x1 to NxN as command-line option.
Also cleaned up command-line option for the delay in microseconds between draw() calls.

3 years agoUpdated/clarified planned command options for WolframAutomata.
Aaron Taylor [Sun, 14 Mar 2021 08:05:43 +0000 (00:05 -0800)]
Updated/clarified planned command options for WolframAutomata.

3 years agoEnforcing tabs -> 4 spaces on WolframAutomata.c.
Aaron Taylor [Sat, 13 Mar 2021 00:22:23 +0000 (16:22 -0800)]
Enforcing tabs -> 4 spaces on WolframAutomata.c.

3 years agoAdding Makefile to build the hack from the previous commit.
Aaron Taylor [Sat, 13 Mar 2021 00:09:17 +0000 (16:09 -0800)]
Adding Makefile to build the hack from the previous commit.

3 years agoInitial commit of WolframAutomata hack. Basic functionality is in place; program...
Aaron Taylor [Sat, 13 Mar 2021 00:07:29 +0000 (16:07 -0800)]
Initial commit of WolframAutomata hack. Basic functionality is in place; program can render an arbitrary CA on the screen.

3 years agoAdded basic README for overall repo.
Aaron Taylor [Wed, 10 Mar 2021 11:16:09 +0000 (03:16 -0800)]
Added basic README for overall repo.

3 years agoAdded MIT/X license to project.
Aaron Taylor [Wed, 10 Mar 2021 11:10:47 +0000 (03:10 -0800)]
Added MIT/X license to project.

3 years agoAdded `Makefile` documenting the build commands for greynetic/reference hack.
Aaron Taylor [Wed, 10 Mar 2021 11:09:27 +0000 (03:09 -0800)]
Added `Makefile` documenting the build commands for greynetic/reference hack.

3 years agoAdded README.md for greynetic/reference hack.
Aaron Taylor [Wed, 10 Mar 2021 11:09:09 +0000 (03:09 -0800)]
Added README.md for greynetic/reference hack.

3 years agoImported the greynetic hack and README.hacking document from xscreensaver as a reference.
Aaron Taylor [Wed, 10 Mar 2021 11:08:15 +0000 (03:08 -0800)]
Imported the greynetic hack and README.hacking document from xscreensaver as a reference.

3 years agoAdding `README.md` related to `screenhack` files in previous commit.
Aaron Taylor [Wed, 10 Mar 2021 09:39:16 +0000 (01:39 -0800)]
Adding `README.md` related to `screenhack` files in previous commit.

3 years agoAdding files related to the `screenhack` API for X11 hacks.
Aaron Taylor [Wed, 10 Mar 2021 09:38:09 +0000 (01:38 -0800)]
Adding files related to the `screenhack` API for X11 hacks.
All files imported without modification from `xscreensaver-5.45.tar.gz`.
See file headers for license details.