Home For Fiction – Blog

for thinking people

Patreon LogoPatreon

A JavaScript Haiku Generator with User Input

January 24, 2022

My iambic pentameter generator is among the most popular posts on Home for Fiction – and the most popular in the programming category. For a long time I’ve been meaning to make a JavaScript haiku generator as well, but I kept postponing it. Well, no more! In other words…

I thought to offer
a haiku generator
in chilly winter

And since I got into the trouble of doing all that, I thought, what the heck; let’s add user input to the mix. So, let’s see what a JavaScript haiku generator looks like.

JavaScript Haiku Generator
What would a JavaScript haiku generator be without images from Japan!
(more…)

Image to Text with TensorFlow

January 17, 2022

Machine learning is all the programming craze these days, so I thought to give it a shot myself. In all honesty, the (undoubtedly important) applications of machine learning are mostly outside my immediate interests, at least at present. But for fun, I thought to play with the intriguing TensorFlow.js library and see what I could come up with. In this post we’ll do an image-to-text with TensorFlow – a silly little program that takes an input image, detects its content, and generates some semi-random text with it.

A complete description of what machine learning and TensorFlow are is beyond the scope of this post. If you’re familiar with them, you anyway don’t need me to tell you. If you’re not but would like to find out more, feel free to read about them on the TensorFlow site (linked above) or Wikipedia.

And if you’re neither familiar nor interested in finding out more, you can still continue reading to see the results we can get. No programming knowledge required for reading; only curiosity.

image to text with tensorflow
Image to Text, TensorFlow style. This silly little program will detect what’s in this picture and generate some text from it.
(more…)

My Medēn Art Project

January 10, 2022

The beauty of art – true art, where you simply don’t care about marketing, audience reception (or even intended audience), and the like – is that the artist can reach realms of unimaginable freedom. My Medēn art project is such an artistic work. It’s still in progress, and it will never finish – a project such as Medēn can never finish.

But that’s not the only peculiarity about it, as you’ll soon discover.

Part of true, liberated art, is that the artist can choose what to share, when, and in which shape. Should art be free? Should it be sense-making? Maybe true meaning is only sense-making when it doesn’t make immediate sense.

In any case, I’ve decided it’s time to turn on the faucet, allowing some colorful water to trickle down the canvas.

Stream-of-consciousness? Conceptual fusion? Perhaps no more (or less) than an experiment. Medēn is here and now, and yet it’s always been. Medēn is what it is, ultimately; we all are.

Medēn
(more…)