Giter VIP home page Giter VIP logo

relc3's People

Contributors

dhowe avatar shadoof avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

cqx931

relc3's Issues

initial reader position

This has come up before; I've tried various things but I think it's one for you: when the app starts or when we load a new text, we want to set at least one reader to .setGridPosition(0,0) or .setCurrentCell(verso.cellAt(0,0) but these trigger an unwanted page turn. I've done a workaround using an OK_TO_FOCUS flag in MachineReader and this seems to work but isn't there a better way?

would love to have working reset(true) in RiTextGrid

lines 1412 to 1428 - looks like you were going to have a way to stop/complete all fading behaviors on a grids RiTexts, but did write one, such that reset(true) would have done this. Wouldn't this be pretty easy for you? Hope so.

current reader per-step speed adjustment

I've had a go at this and the current traces of my attempts are commented out on line 407 of ELC3Multi in its draw method.
When this line is not commented out, the readerSpeed (in seconds) seems to be ignored or changed by ? MachineReader and it is not clear whether the adjustment is working (even when very exaggerated).
Would be nice to make this work but I think it needs your skills ...

reader color problem

  • run sketch
  • switch to "Less Directed Perigram"
  • try to change the reader color with the color button
    No effect. But when you switch to another reader and change color it will change color (already has?)
    I had a look at this but couldn't work it out on a first pass anyway.

infinite loop crash

sketch halts with no report if you click the button to change readers while a page is flipping/turning

use menus instead of buttons

any reason not to use menus (which show the actual options), rather than buttons which force the user to only choose the next option (which is a mystery)?

thoughts?

fading mysteries

do this:

  • start sketch;
  • switch to Mesostic Jumper and set speed to Fluent
  • let the reader turn the page and note that all the letters of the Mesostic phrase are showing (fixed this before the exitWord VBs would have run before the page finished flipping, but to get the first mesostic word on the new page to highlight, ihave taken special measure).

This first time round the visual behaviors play nice. Now, continue thus:

  • switch to a Perigram reader and make it Fast;
  • let it turn a page;
  • switch back to the Mesostic Jumper at Fluent or Steady;
  • let it turn a page.

Notice that the first mesostic word on the new page is highlighted but then suddenly and too quickly 'switches off' (revert to grid default colors) This only happens after having selected readers with other visuals. I think it is something to do with the way fades are handled and this is one of your Deep Mysteries.

PerigramDirectionalReader repeatedly dying

Not sure if this is expected behavior, but if so, it should have a better name than 'dying'
Note that this is not new, but only brought to light because of your log message for null words in Machine Reader.draw()

[WARN] wordBeingRead is null at this point in [email protected]()
trp.reader.SimpleReader@2eb90014  -> RiText['obliterated']
Died with null cell ahead to the N from: RiText['Placed?']
[WARN] wordBeingRead is null at this point in [email protected]()
Died with null cell ahead to the S from: RiText['in']
[WARN] wordBeingRead is null at this point in [email protected]()
Died with null cell ahead to the NE from: RiText['Having']
[WARN] wordBeingRead is null at this point in [email protected]()
Died with null cell ahead to the NE from: RiText['my']
[WARN] wordBeingRead is null at this point in [email protected]()
trp.reader.SimpleReader@2eb90014  -> RiText['that']
Died with null cell ahead to the SW from: RiText['it']

Design suggestion

To help the user to know that there is a bottom control bar, maybe we could have it appear for a few second when the programme starts, then we can just let it disappear and only shows up when hover like right now.

screen shot 2016-10-02 at 9 45 45 pm

crashing

If a new reader (def: simple spawner or perigram spawner) has been switched to and then the user tries to click-switch to the next text, crash with this:
[ERROR] Illegal state in RiTextGrid.getGridFor(), no grid for RiText: RiText['']
java.lang.RuntimeException
[FATAL] Illegal state in RiTextGrid.getGridFor(), no grid for RiText: RiText['']

layout for The Image

since there can be an odd number of half-black-space lines on either right or left grid currently, the position of a bottom line for this text can vary. I had to adjust the bottom margin of the layout in order to make all pages work with The Image and the bottom control bar. Daniel: you may want to make blank lines in The Image full blank lines and see if this looks better to you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.