Home Menu ↓

Blog

Updated the Latin declensions chart with a fix for fructus, which was incorrectly feminine (it’s masculine). Thanks to Chih-cheng Yuan for the heads up!


Reply via email

Ink

As mentioned on Twitter, I’ve decided to write my own typesetting engine, called Ink. Apparently I’m crazy.

The details are still very much in the air, but here are some quick notes:

  • Written in Rust (for speed)
  • Programmatic (sort of like TeX)
  • Scripting language for extensibility (JavaScript or Lua or Python)
  • Intended for use in typesetting book interiors, covers, and charts
  • Possibly some kind of template/data division
  • Full OpenType feature support (shaping via HarfBuzz)
  • Custom PDF generation library (inkpdf)

Reasons for doing this insane thing:

  • PlotDevice only runs on OS X and I want the source of my language charts to be usable on other platforms.
  • I’d like to open source the books I typeset, so InDesign isn’t a great solution.
  • TeX is powerful and well-seasoned and all, but it’s not exactly pleasant or easy to work with, especially for the kind of stuff I do.
  • I’ll learn a lot and have fun while I’m at it.

The initial roadmap, not necessarily in order:

  • Write inkpdf in Python (which I think will be a better fit for the charts anyway)
  • Get familiar with HarfBuzz
  • Learn Rust
  • Port inkpdf to Rust
  • Plan out the Ink language (I’ve started on this and it’s looking promising)
  • Figure out how scripting is going to work and embed the interpreter

I’ll document the process on this blog, of course. First steps: reading the PDF spec and figuring out how to make PDFs by hand.

(For those who’ve been reading for a while, Ink was also the name of my static blog engine. That’s now ink-static, and at some point I’ll either retire it completely or change the name to something unrelated.)


Reply via email

I’ve spent the last few months avoiding the heck out of writing the novel (Edge of Magic). The plot changed several times — completely changed, that is — and then I abandoned it and started on a short story which I then also abandoned.

The good news, however, is that I’ve written a thousand words a day every day solid since the beginning of December. The habit is securely in place.

Tonight I realized that for some reason, when I’m working on a story I can’t do other projects at the same time (art, typesetting, coding, etc.). Whether it’s because I use those other projects as avoidance or something else, I don’t know. But during a writing project — at least the planning stage, not sure yet whether it applies to the drafting stage — I need to put all my other projects on the back burner. That gives me enough mental space to let the story grow.

The plan right now: finish the aforementioned short story (featuring Dagh and María Bonita — I don’t have a title yet), then decide which novel I’m actually going to write, outline it, and write it as fast as I can, to get it done before self-doubt slashes my tires.

One problem with the novel, by the way, was that Makrannan’s character was never very clear or interesting to me. He never came alive to me. Thus his part of the book was always weak, even after several re-outlinings. With this current story, however, Dagh and María Bonita feel much more alive to me, and it’s making all the difference. (And hopefully that will make the story much more worth reading than my earlier stories.)

Goal: finish the first draft of the Dagh story by May 21, and release the edited story on my site by May 31.


Reply via email

Quick note: yesterday I pulled all my stuff off Redbubble (things seemed shady over there) and uploaded my religious art to Society6. Prints are still available from Imagekind as well.


Reply via email

Brightness and Glory

Continuing my trend of painting the First Vision (triptych, color triptych, triptych II), this time with just a single panel instead of a triptych:

brightness-and-glory.jpg
Painted in Photoshop.

Reply via email

Learning Haskell, day 1

I’ve missed learning new programming languages, so I’m now teaching myself Haskell for fun. I’ll post my progress as I go along.

Initial impressions based off what I know at this point: Haskell is very functional. The code looks different to my imperative-language eyes, though I’m intrigued by how short Haskell code often seems to be. Oh, and there are monads, though right now I have no idea what those are.

I’m excited to delve deeper into a pure functional language — I’ve done some limited functional programming in Python, and I have a cursory knowledge of Lisp, but I haven’t written anything real in a functional language before. (And I do plan to write a real project in Haskell. Not sure what it’ll be yet.)

At this point, I’ve installed the Haskell Platform (I would have done it via Homebrew but it looks like there are issues with the recipe), and I’m planning to work through Learn You a Haskell for Great Good! and possibly Write Yourself a Scheme in 48 Hours.


Reply via email

To Fulfill All Righteousness

to-fulfill.jpg
Painted in Photoshop.

Reply via email

Snakes

A new piece, “Snakes”:

snakes.jpg

Detail:

snakes-detail.jpg

The code is on GitHub, and as I’ve also posted a few process pics to Twitter (which I think I’ll continue doing).


Reply via email

Circlecells

Yesterday’s generative art piece, called “Circlecells” (these names are amazing, I know):

circlecells-01.jpg

Detail:

circlecells-01-detail.jpg

The code is on GitHub. I also posted a few process pics to Twitter yesterday. There are also three other accompanying pieces in the set generated with different seeds: 02, 03, 04.

Explanation:

  • There’s a 20×20 grid which gets populated with an initial seed population of living/dead cells. (I get a random value between 0 and 5; if it’s 0 or 1, the cell is alive.)
  • The lines are drawn from any living cells to any immediately neighboring living cells.
  • The size of each circle is dependent on how many living neighbors the cell has.
  • The initial round is drawn in light tan, then the grid is run through a modified Conway’s Game of Life (any cells with 2, 3, or 5 living neighbors are alive in the next round).
  • Two more iterated rounds are drawn, one in a slightly darker tan and the last in dark red. (Drawing is done with the multiply blending mode.)
  • I textured the piece in Photoshop afterwards, using some Kyle T. Webster brushes — add canvas, add noise, encaustic grit, a couple others that I can’t remember.

Reply via email

The difference between fantasy and science fiction

I recently came across this quote from Daryl Gregory on the difference between fantasy and science fiction:

Readers will read something as science fiction if the characters are engaged in the process of science. In fantasy there’s no fiddling with the rules. You pull a sword out of a stone, and that makes you King of England. There’s no, ‘But what if I put a sword into the stone?’ In a science fiction novel, everybody would be trying to figure out how to make more kings by inserting more sharp objects into rocks! A fantasy novel is almost distinguished by not asking those fundamental questions about what is going on. A science fiction novel, no matter what the rules, is always asking those questions.

Part of me likes this, but part of me disagrees completely — Brandon Sanderson’s fantasy novels, for example, ask those questions and have their characters engaged in what fundamentally is science, albeit focused on magic. And yet the books are clearly fantasy.


Reply via email