Wednesday, 16 November 2022

How-To's for Stable Diffusion (Art-Generating AI)

 Art-generating AIs are fantastic and developments are happening at a breakneck pace. While experimenting with Stable Diffusion (via the fantastic Automatic1111 Webgui) to generate images I made a document to keep track of what I learned and the ways I was fixing problems.

Here is my HOW TO guide which includes my recommended settings and techniques for:

If you're messing with Stable Diffusion, this should help!

Saturday, 25 June 2022

All The Good VR Ideas Came From The 1960s

 I'd like to highlight an article of mine that was published a short time ago: all the truly good VR ideas were dreamt up in the 1960s.

The core of the article is to highlight that VR is a combination of simulation and interaction, and combining them effectively had to wait until the 60s, when the digital revolution and computers provided the right tools.

Here is an excerpt from my article:

In 1965 Ivan Sutherland, a computer scientist, authored an essay entitled The Ultimate Display (PDF) in which he laid out ideas far beyond what was possible with the technology of the time. One might expect The Ultimate Display to be a long document. It is not. It is barely two pages, and most of the first page is musings on burgeoning interactive computer input methods of the 60s.

The second part is where it gets interesting, as Sutherland shares the future he sees for computer-controlled output devices and describes an ideal “kinesthetic display” that served as many senses as possible. Sutherland saw the potential for computers to simulate ideas and output not just visual information, but to produce meaningful sound and touch output as well, all while accepting and incorporating a user’s input in a self-modifying feedback loop. This was forward-thinking stuff; recall that when this document was written, computers weren’t even generating meaningful sounds of any real complexity, let alone visual displays capable of arbitrary content.

 I round out the article with a list of ideas from the 60s that happened, as well as listing some that have not happened yet. I also highlight the difference between "important" features, and "cool" ones.

Give it a read, and maybe you'll come away with some new ideas or perspectives on VR, and where it is going.

Thursday, 19 May 2022

Using Natural Language AI in Your Next Project is Easier Than You Think

I've been playing around a lot with OpenAI's natural language API, which is an interface to GPT-3 and it's opening all kinds of doors for me lately.  I wrote an article published on Hackaday covering the basics of what it can do and how to get started.  Short version?  If you can code some basic Python, write a curl statement, or even just use the command line, you already have all the tools you'll need to get started!

Here's a fun little utility I wrote to learn the ropes. The "technobabbler" converts otherwise boring log messages or status reports into technobabble. Here are a few examples, below. 

Note that results are never really the same and cannot be predicted. I find this kind of uncertainty fascinating; the way that responses are not predictable yet not actually random is deeply interesting to me.  

Below, multiple responses are shown below each command to demonstrate this. (The technobabbler actually only returns one response at a time.)

echo "Connection lost" | ./technobabbler.py

All systems are down. We are cut off.

Subspace carrier has lost coherence.

echo "Connection established" | ./technobabbler.py 

Accessing subspace frequency...

We have a green light

Subspace carrier has locked on.

echo "Power low. Please charge now." | ./technobabbler.py 

Insufficient energy levels. Please provide additional power.

Power reserves are running low. Please recharge as soon as possible.

echo "Display not found" | ./technobabbler.py 

Monitor not active.

There is no display device on the specified port

No compatible output devices detected



Friday, 10 December 2021

Does a Meta Quest 2 VR System Need a Computer or Phone to Work? Simple Answers


This question is coming up a lot for those new to VR, and here are the simple answers.

In short, the answer to "do you need a computer or phone to use a Quest 2?" is yes and no. That's because that question can mean different things. I'll explain.

First of all, a brand new Quest 2 straight from the box needs to go through a setup process before it can be used. This setup process needs a phone with an app installed that will pair with the headset. Once this setup is done, the Quest can be used without the phone. In short, a phone is required for initial setup of a Quest headset, but is NOT required to use the Quest afterwards.

If you mean: "Can I set up the Quest 2 without a phone?" the answer is NO. The Quest 2 needs you to install an app, after which your phone will be used to complete the setup process (which involves creating an account.)

If you mean: "Do I still need the phone to use the Quest 2 after setup?" the answer is NO. Once the Quest 2 is setup, the headset can be used without the phone being involved. All you need is the Quest headset. You can pack it up and bring it somewhere, and it will work to play games without the phone being around. (There are some features that will only work with the app, but the headset will work and play games just fine by itself.)

If you mean: "Can I use a computer to setup the Quest 2?" the answer is NO.  A computer cannot be used to set up the Quest. A phone with the app is needed.

If you mean: "Can I use the Quest 2 to play PC VR games?" the answer is YES. The Quest works like a games console, like a Nintendo Switch, or Sony PlayStation, or Microsoft Xbox, and does not require a computer. However, if you wish to use the Quest 2 to play SteamVR games instead of using it like a console, that can be done.

More info on playing PC-based VR content using the Quest

There is another, optional way to use the Quest, and that is by using a Link Cable or Airlink.

To use the Quest as a headset for PC-based VR content, you will need a Link Cable, or use wireless Airlink. They both do the same job, just with a cable (the Link Cable), or wireless (Airlink).

When using the Quest in this way, the PC runs the VR content, and the Quest is used to display it to the player.

If you don't plan to use the Quest to play SteamVR games or PC-based Oculus VR games, you can ignore this entirely.

Monday, 4 October 2021

A Quick Word About Estimating Costs

 Making a budget and estimating costs is critical to the success of any endeavor, especially crowdfunded products. I am always looking to learn more on this process, and wanted to share a brief bit that is not often talked about. I was reading a recent guide, and the numbers they provided matched my own experiences, so I'll repeat them here.

Overestimating costs to provide a buffer for the unexpected is important, and while exactly how much you budget in is up to you, here are some simple and reasonable numbers to use as a guide:

  1. Add a 10%-15% buffer onto any costs that are not shipping or manufacturing.
  2. Add a 30% buffer to shipping and manufacturing costs.

 You'll ultimately have to decide how much of a buffer works best for your project, but these numbers aren't unreasonable. This is especially true for creators who are crowdfunding on Kickstarter or similar platforms, where your budget needs to be cemented ahead of time, and manufacturing and shipping might be some time in the future.

Monday, 30 August 2021

A Look at Automating 3D Printer Bed Leveling, and First Layer Calibration

My latest article, in which I explore the auto-leveling features in the Anycubic Vyper 3D printer, has been published at Hackaday. I found the idea of integrating a strain gauge into the hot end to look well done, and in short, it works as advertised and gives perfectly serviceable results.

In the article I talk about why bed leveling and first layer calibration remain a pain point for 3D printers and users, discuss some ways people have tried to make the problem go away, and take a close look at the method implemented in the Vyper.

One thing that is unusual for 3D printers -- compared to other CNC machines -- is that there is a strong trend toward using build surfaces that are coated (or textured), and swappable. This makes the problem more difficult, because these swappable build platforms are never completely flat, and no amount of adjustment with screws will adjust out the imperfections in them. It's up to the machine to work around them.

Tuesday, 27 July 2021

Thermal Cameras Are More Hackable and Affordable Than Ever

 

I recently wrote this article about the tCam-Mini wireless thermal imager and I am deeply happy with it. However, it's important to know what the unit does and doesn't do, which I cover in the article.

These kinds of tools are great, and the fact that they can be hackable is making me get idea after idea about how to use it in different ways.

One of the challenges for this not-quite-plug-and-play device was that the information about it is sprinkled here and there. I round up all the necessary resources at the end of the article.