Anonymous avatar Anonymous committed a0ddaee

Begin to unify Gallery node with the static HTML5 page of same name.

Comments (0)

Files changed (4)

 
 use two-column layout for (thing, thing distribution)
 
-Don't have separate distribution nodes for ref dists.
+Don't necessarily even make nodes for reference distributions.
 
 tool
 ----
 perhaps...
 ----------
 
-Don't necessarily even make nodes for reference distributions.
-
 Cited in Jargon File --> like esowiki and wikipedia.
 
 online-implementations should really be a list of implementations,

data/collections.yaml

 Gallery:
   type: Collection
   description: |
-    Welcome to Cat's Eye Technologies' Gallery.
-    This area of our website is for exhibiting digital artefacts, both our own and
-    others, which we consider worth exhibiting.
-    
-    Many of these exhibits are interactive, being implemented as Java™ applets,
-    in Javascript and/or HTML5, or as Flash.
-    
-    We hope you enjoy interacting with them.
+    Welcome to Cat's Eye Technologies' Gallery, the section of our website for the
+    exhibition of digital artefacts, both ours and others, which we consider noteworthy.
+    Many of these exhibits are interactive, being implemented as Java™
+    applets, in Javascript with HTML5, or as Flash.

data/exhibits.yaml

 Bubble Escape 2K exhibit:
   type: Exhibit
   exhibit-type: game
-  exhibit-link: http://catseye.tc/gallery/c64/bubble-escape-2k/
+  exhibit-link: ../gallery/c64/bubble-escape-2k/
   interactive: true
+  animated: true
+  medium: Java applet
   description: |
     [[Bubble Escape 2K]] playable online in the [[JaC64]] [[Commodore 64]]
     emulator Java applet.
 21 Esolangs in yoob:
   type: Exhibit
   exhibit-type: esolang
-  exhibit-link: http://catseye.tc/gallery/esolangs/yoob/
+  exhibit-link: ../gallery/esolangs/yoob/
   interactive: true
+  animated: true
+  medium: Java applet
   description: |
     [[yoob]] is a public-domain framework for implementing esoteric programming languages, and allowing them to be interactively
     run on programs in a Java™ applet.
 JWhothm exhibit:
   type: Exhibit
   exhibit-type: esolang
-  exhibit-link: http://catseye.tc/gallery/esolangs/jwhothm/
+  exhibit-link: ../gallery/esolangs/jwhothm/
   interactive: true
+  animated: false
+  medium: Java applet
   description: |
     [[Whothm]] is a simple language for describing infinite two-colour bitmapped graphics.  This exhibit contains a Java applet
     which implements Whothm, and lets you interactive try out Whothm programs online.  The implementation is only
 Gemooy HTML5 exhibit:
   type: Exhibit
   exhibit-type: esolang
-  exhibit-link: http://catseye.tc/gallery/esolangs/gemooy/
+  exhibit-link: ../gallery/esolangs/gemooy/
   interactive: true
+  animated: true
+  medium: Javascript on HTML5 canvas
   description: |
     [[Gemooy]], implemented in Javascript, on an HTML5 canvas.
 
   type: Exhibit
   # also conceptual
   exhibit-type: visual
-  exhibit-link: http://catseye.tc/gallery/conceptual/plea-of-thunder/
+  exhibit-link: ../gallery/conceptual/plea-of-thunder/
   interactive: false
+  animated: true
+  medium: Java applet
   description: |
-    A Java applet that you and your friends can own!
+    Conceptual art: A Java applet that you and your friends can own!
 
-# needs a better name
-"HTML5 Canvas Experiment #1 exhibit":
+"HTML5 Canvas Experiment #1: Progression":
   type: Exhibit
   exhibit-type: visual
-  exhibit-link: http://catseye.tc/gallery/html5/canvas-experiment-1/
+  exhibit-link: ../gallery/html5/progression/
   interactive: false
+  animated: true
+  medium: Javascript on HTML5 canvas
+  description: |
+    Op art: A eye-tickler.  Starts getting interesting around 100 iterations,
+    and starting stopping being interesting around 1550 (YMMV).  Requires HTML5 canvas
+    support and Javascript enabled.
 
-# needs a better name
-"HTML5 Canvas Experiment #5 exhibit":
+"HTML5 Canvas Experiment #5: Prairie":
   type: Exhibit
   exhibit-type: visual
-  exhibit-link: http://catseye.tc/gallery/html5/canvas-experiment-5/
+  exhibit-link: ../gallery/html5/prairie/
   interactive: false
-
+  animated: true
+  medium: Javascript on HTML5 canvas
+  description: |
+    Animated impressionism:  An impression of the prairies.  Requires HTML5 canvas
+    support and Javascript enabled.
 
 # ---------------------------------------------------------------------------
 # For now, let's assume these are not exhibits.
 #~ Plankalkül exhibit:
   #~ type: Exhibit
   #~ exhibit-type: language
-  #~ exhibit-link: http://catseye.tc/gallery/languages/plankalkuel/
+  #~ exhibit-link: ../gallery/languages/plankalkuel/
   #~ interactive: false
   #~ authors:
   #~ - Konrad Zuse
 #~ Sartre exhibit:
   #~ type: Exhibit
   #~ exhibit-type: esolang
-  #~ exhibit-link: http://catseye.tc/gallery/languages/sartre/
+  #~ exhibit-link: ../gallery/languages/sartre/
   #~ interactive: false
   #~ authors:
   #~ - Anonymous
 #~ TURKEY BOMB:
   #~ type: Exhibit
   #~ exhibit-type: esolang
-  #~ exhibit-link: http://catseye.tc/gallery/languages/turkeyb/
+  #~ exhibit-link: ../gallery/languages/turkeyb/
   #~ interactive: false
   #~ authors:
   #~ - Anonymous
   #~ interactive: false
   #~ authors:
   #~ - John Colagioia
-  #~ exhibit-link: http://catseye.tc/gallery/languages/starw/
+  #~ exhibit-link: ../gallery/languages/starw/
   #~ description: |
     #~ "The *W language should be based on the W language which,
     #~ of course, does not exist."

templates/Gallery.html

 {# bespoke template #}
 {% extends "base.html" %}
 
+{% block extra_head %}
+  <meta name="description" content="Index of galleries of noteworthy and interactive exhibits at Cat's Eye Technologies.">
+{% endblock extra_head %}
+
 {% block content %}
 
 {% for exhibit_type in ['esolang', 'game', 'visual'] %}
   <h3>{{ exhibit_type }} Exhibits</h3>
+
+  {# yuck #}
+
+  {% if exhibit_type == 'esolang' %}
+    <p>An exhibit of many <a href="../about/esolang.html">esoteric programming
+    languages</a> in action, with which you can experiment.  By selecting sample
+    programs and watching them run, you can gain an appreciation of how the
+    esolang computes stuff; by composing your own programs, you can gain an even
+    better appreciation.</p>
+  {% endif %}
+
+  {% if exhibit_type == 'game' %}
+    <p>An exhibit of programs written for the
+    <a href="../node/Commodore%2064.html">Commodore 64</a>.  This gallery is
+    interactive, powered by the <a href="../node/JaC64.html">JaC64</a> Java™
+    applet, which allows you to run
+    Commodore 64 programs in your web browser.  This gallery is primarily,
+    but not exclusively, intended to present C64 games which have been developed
+    by Cat's Eye Technologies.</p>
+  {% endif %}
+
   <ul>
   {%- for thing in data|sort -%}
     {%- if data[thing].type == 'Exhibit' and
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.