Manageable bites
2 minute read
Conseguí o borrão que eu queria
As regularly happens the little gnawing distractions that appear bite sized draw me back in, and luckily this one actually was bite sized. I found out the js canvas has built in filters that are more performant than Ronin's Convolve function, and wrote a new function for Ronin's library to run them within a given rectangle:
// canvas filters
this.canvasfilter = (ff, rect) =>{
const hiddenCanvas = document.createElement("canvas")
const hctx = hiddenCanvas.getContext("2d")
hiddenCanvas.height = client.surface.el.height
hiddenCanvas.width = client.surface.el.width
hctx.filter = ff
hctx.drawImage(client.surface.el, 0,0)
hctx.filter = "none"
client.surface.context.drawImage(hiddenCanvas, rect.x, rect.y, rect.w, rect.h, rect.x, rect.y, rect.w, rect.h)
return rect
}
And here is the function in use, in Ronin:
(clear)
(resize 1000 1000)
(import "budget.png")
(def blurr "blur(10px)")
(defn blr (r)(canvasfilter blurr r))
(blr (rect 136 38 114 856))
(blr (rect 818 68 144 154))
(blr (rect 828 276 118 42))
(blr (rect 816 374 134 154))
(blr (rect 250 370 192 46))
And here's the same budget as yesterday, with (I believe) a better blur:
a little doodling
I expected to spend an hour doing cartoon work, but ended up spending 2 hours and another hour distracted. . The hippo is the biggest challenge of the 3 funny drawings, but drawing in general is a challenge. I haven't drawn nearly enough, I don't have the speed or confidence of line I really want. I'm also not using the tablet anymore, because I don't have photoshop on my laptop, but even as I type this I think I ought to seek out a painting program and dust off the old wacom + pray 🙏 it's compatible with this machine.
The next drawing challenges after the hippo are:
- the waiter
- the hand around the bird
- the fish
- the fish car
- the beach scene
Leek and potato soup
I made a humble and fairly boring soup, over-watered it or under-seasoned it I think, but no matter. Sitting about all night has probably improved it's flavour. I also ordered premade chicken schnitzels, $2.50 a pop, and I'm having a chicken sandwhich with sprouts alongside a bowl of soup for dinner for the next few days.
what else?
- Started listening to the audiobook of Mr Penumbras 24 hour bookstore by Robin Sloan. Robin Sloan is a deeply inspiring write for me, though I've never actually read any of his novels. I've mentioned his app Fish here before.
- I think I'll move ahead with the small projects goal, and take my current projects and convert them into small tasks (I know, this is something I can do anyway, but might as well kill 2 birds with one stone).
- This contemporary colour-field work.
listening to
Rigoberta Bandini - LA EMPERATRIZ (Full Album)
questions
- What am I grateful for?
- How can I focus on the task at hand, and divide my day into manageable bites?