Monday, December 2, 2019

T-day

"How was your break/Thanksgiving?"

What I felt: "I had to put my cat down Monday afternoon and spent the rest of the week moping and cleaning cat bowls and dusting out the marks where her nerve-damaged tail dragged when she walked and giving away her food and missing my furry little hot water bottle."

What I said: "Fine. Restful. Ate a lot."

Tuesday, November 26, 2019

Tabby

Tabby is gone--I had her put down yesterday. She was 14.5 years old, skin and bones, kidney disease, terrible arthritis, and had stopped eating. Still, I feel like I could have let her go on for a bit--she did eat a smidgen yesterday. But when I picked her up to put her in the carrier, she didn't even weigh as much as a sack of flour. It was time.

My bed looks naked without her ramp beside it.


Sunday, November 24, 2019

Money and cats

Overstepped my financial bounds again, goddamnit. What is wrong with me?

On an unrelated subject (well, except that her food is expensive), my cat isn't eating much, except to lick up the gravy.

Saturday, June 2, 2018

Had some down time...

Almost two months later, I'm starting to get back to my project. I discovered browser compatibility problems, and I was seriously feeling the time crunch. My boss agreed that I could do a more conventional project for the title upgrade and raise, so I knocked that out in two days. (Haven't heard anything about the title/raise yet, or even whether my project was acceptable; will ask soon.)

With that out of the way, I can relax a little and take time to learn what I need to learn to create interactive apps for our online courses.

This doesn't come naturally to me. I'm an artist--or I was, before I burned out or whatever it was that happened. Anyway, that was a right-brain gig, and coding really isn't, or at any rate, it's a very different type of creativity. I can do it, though--it's just going to take me time to get a handle on programming, and a bit more effort than might be required of your average regulation computer nerd.

There was a further interruption in April, of course--on the 19th, my mother died. She had been in misery with a bastardly infection called Clostridium difficile, or c.diff, for months. I forget how many weeks she spent in hospitals or a rehab center, in and out, home for a bit, then back to the hospital when the damn infection got a foothold again. It was awful for her. She spent her last week in at-home hospice, telling two of my sisters what all she wanted done and who got what and so forth. I'm glad she had that much control of the situation. Her mind was sharp to the end, thank goodness. She was 92 years old.

Arlene Fern Smith
January 24, 1926 - April 19, 2018

So I took some time to rest, did that quick ID project, then started looking around for more help learning Javascript. Found a more thorough course on Udemy and started that yesterday. Also did some more research on Adobe Animate and found out how to incorporate Javascript libraries into the file so I can still use KonvaJS, if that turns out to be the best solution.

And on we go.

Friday, April 6, 2018

We have text inputs and button controls

Unfortunately, they interfere with the polygon mouseover/click events in the layer below the text layer. So far, I've found a way to disable listening in individual text nodes, but the invisible textarea on the textlayer still blocks access to the polygons. This is a big problem for tiny country/polygons like Luxembourg (on my map of Europe). I've put in another question on Stack Overflow and Gitter, hoping for help.

I also need to figure out how to better position the textareas. The x/y values in KonvaJS don't correspond to the map in Animate CC at all, so that's no help. I still want to be able to position the textareas relative to the polygons, so I'll experiment with that while letting the other problem percolate for a while.

Sunday, April 1, 2018

Before I go on with text inputs...

I need to add the COLOR and LABEL buttons. Clicking btnColor should make the color selector active and labels inactive. Clicking btnLabel will do the opposite. I need the buttons before continuing with text input because the text area has to be created on clicking a polygon. So let's get clicky.

I did get the example textInput code working in my map test file and got two inputs positioned (roughly), so I'll save that to my http://leslieasmith.coffeecup.com/ examples.

Friday, March 30, 2018

Next phase

I decided to separate the control panel stuff, after all, so that's now in the HTML DOM below the map. Layers are working, polygons are working, so it's time for the next round of tests:

  1. Get first user text input positioned & formatted in new DOM layer over canvas.
  2. The example I have is double-click; the old map app uses a single click onload or after the Label button is clicked, so create Label button and tie input functionality to it (add eventListener).
  3. Create Color button and make color selector (a) active after Color button is clicked and (b) inactive after Label button is clicked.
  4. Make Label button and textInputs (a) inactive after Color button is clicked and (b) active again after Label button is clicked.
  5. Create Export button (probably export as PNG screen capture).
  6. Start working the drawing app in with the rest of this malarky.