unFocus Projects

Category: Fun & Games

  • unfocus.com – What Are We Doing Here?

    unfocus.com – What Are We Doing Here?

    I’ve been thinking a lot about what I want this space to be. The original idea behind unfocus.com, maybe born out of the naivete of youth, was that there was too much focus on myopic ideas around political ideas. The idea then was to take a step back and think about the bigger picture, thus the idea of “unfocus”.

    Since then, I’ve learned a lot about politics, about political theory, strategy and especially messaging and how that works in our embodied minds. Most of that hasn’t really made its way on to these pages. I did spend some of the last few years blogging about those topics on medium, with dozens more drafts than published articles. I still find that space interesting, but it’s I think, not what I want to spend my effort on here.

    I think what I’d like to focus on here, are projects. That’s what I used to blog about, before the algorithm driven economy burgled the attention from my mind. That’s what I’d like to blog about again. I’ll probably leave the old political stuff up (to mirror medium,) but will likely remove it from any feeds on the site.

    So let’s talk projects!

    What do I want to do? I’m not sure. The software space is in a state of jubilee, from the over hyped, but still useful LLM driven AI bubble. Many things really are possible, and some things have never been easier. How to get passed the hype, and land on the slope of enlightenment early, might be worthy of some blogging. In this place, in the archives, there are still many articles about to achieve very difficult things with fun tech like Flash from back in the day. Today, the LLMs are actually pretty good generating code that can achieve much of what was hard back then, at least for “solved problems,” easily (ethics aside – we’ll get to that.)

    I’ve got a couple of ideas about things to work on. I’d really like to step away from the political turmoil we find ourselves in, and just make games, and other forms of art, but the collapse of western civilization is quite distracting. One idea I had which is technical, but still adjacent to politics, was to use an AI model to do some kind of analysis, and try to tease out the different moral world models (worldviews) that different factions are promoting, mindfully (Republicans) or not (non-Republicans – basically, everyone else.)

    There is a whole framework to communicate here, but I’ve had so little luck explaining it. Anyway – that’s one project. A kind of Ground News, but not just filtered on the bias of the publication, through an idiotic and destructive left/right spectrum, but analyzed per article, on the substance of the article itself, to reveal the underlying moral world models, and how it fits in or contrasts with competing models. Could be fun and interesting. Definitely is needed in the world. But it’s also very difficult, especially since there doesn’t seem to be many who understand how this stuff works (it really seems like Republican strategists are literally the only ones, and they use it to foment hate and derision… very disheartening.) So that could be a fun side project, and I might yet build it.

    The other things I thought of would all be efforts at media and artistic expression. I’ve always wanted to get in to the video game space. Ever since I was a small child, I have dreamed about which mechanics I’d add to the various games I’ve played. I haven’t really spent my career working on that skill, but hey, it’s never too late. I also have some stories I’d like to tell – and maybe that’s a better place to assert my insights about humanity, politics and moral world models, than some grand plan to fix the world. I could easily channel that in to some stories. Another muscle to build – something new and entirely different from what I do in my day job. That might actually be nice.

    I also might start simply writing more. An easy way in, could be to write more game reviews. I did write one for Metroid Dread a while back. I hated that game. But I also wrote quite a long review of Final Fantasy XVI, after it shipped to PC, that I never published. That one was fun – and I love that game. I might really lean in to that for the year. I’ve been playing a few AAA games, and a lot of indy games. I’ve also almost entirely been playing on Linux (and a bit on Switch 1/2,) on either Steam OS (original Steam Deck) or my custom Bazzite machine. There’s probably some cool stuff I could share about those. Maybe I’ll start by finishing that FF XVI review, then share some thoughts about gaming on Linux.

    I’ve also been running some cool home lab type stuff in my basement, including some web services, and some home assistant lighting coordination. That’s a whole domain that could be fun to blog about.

    In the short term, I’ve basically been dusting off some old hobbies. This blog for example. It’s not really what I want unfocus.com to be, but it’ll do for now, until I get the itch to build something different. For now – I’ll continue to blog some hobby stuff here, starting with the resurrection of Quint Dice! More to come on that soon.

  • unBrix Alpha in Android Marketplace!!

    My first Android app is in the market place! Built with Adobe AIR, unBrix Alpha is a quick take on the classic breakout style game. This is more of a “lite” game at this point (hence the “Alpha” suffix), but it is already more complete than many of the other Arkanoid clones in iOS App Store. There also seems to be some last minute performance problems on the Android version. :-/ I guess that’s what I get for only testing on an iPhone for most of the development. I’ll have fixes to that soon. I’m pretty sure it’s related to the scaleMode I set in Flash – the problem is if I set that the faster mode – NO_SCALE – it’s way too small on most Android devices. I’ll probably need to add some manual sizing based on measurement. Of course non of this was needed on the iPhone version.

    Download unBrix Alpha and let me know what you think! I’d provide a link, but I don’t know how.

    Update: I Nerfed the framerate a bit to get it to run a little smoother. I think the problem will be solved better by setting NO_SCALE, but I’ll have to do that another time (probably when I get to iPad port!). I also fixed the red line, and the icon too (I don’t know that didn’t show up last time). There is a report of the paddle jumping to one side when some users remove their finger from the screen. I haven’t been able to reproduce, but please let me know if this happens to you! Here is a link to unBrix Alpha on appbrain (it isn’t showing the update yet).

    Update 2: I switched to CPU rendering, because it seems as though GPU rendering is just slower on Android devices than CPU rendering – at least in this kind of game. Anyway, this solved a lot of problems, including missing text and missing affects. I also had to set a fullScreenRect to match the original intended size of the game (iPhone 3Gs size). Doing these two things cleaned up most of the performance issues and graphics glitches. I’ll work on getting the remainder of the basics in place, like proper shutdowns – so this doesn’t run in the background like it does now (didn’t have to worry about that for iOS!).

  • The Bunny (Video) Explodes. Explodes!

    UPDATE: I intended to post the source for this a long while ago (after cleaning it up), but I never got around to it. Here it is in it’s current state.

    I wanted to see how far I could push that exploding Actionscript 3.0 code – see if Flash could handle updating each animating pixel every frame, while playing a video, then blurring it. Sure enough, it can! It did take further optimization from the version I posted the other day – including swapping copyPixels with getPixel/setPixel, and removing an anonymous function call (wow that was expensive!). Here it is:

    Note: This WILL run like slush on the debug player. I don’t know why. If anyone knows why, please let me know!

  • I’m totally signing up for Final Fantasy XIV beta

    I’m totally signing up for Final Fantasy XIV. It seems to say I need a fan site. Does this count? 😀 BTW, Final Fantasy XIII is wicked cool.

  • 3D Gaming is Awesome!

    After I watched Avatar in 3D, I became curious about PC gaming in 3D. So I did some research on the subject. There are three kinds of home 3D solutions on the market today (and a few more in theaters); active shutter glasses, and polarized LCD monitors are the two full color technologies. Each have their advantages and drawbacks, which I may blog about in more detail in the future (if you want more info, I suggest reading the xbit labs reviews of the various technologies).

    I wanted to try to find a solution that did not require the layout of hundreds of dollars just to test out how well (or not) the 3D of these systems actually worked, so I wondered if there was a way to test these out, with minimal cost – sure enough, both available 3D graphics drivers support anaglyph mode to preview the tech. The third option anaglyph – you may remember this trick from super bowl half time commercials, and cereal box addins. First up is nVidia’s solution is slightly

    For nVidia 3D Vision Discover, you’ll need to make sure you have a beefy enough nVidia video card – ATi users are out of luck. As luck would have it, I have a supported card, an 8800GT (the lowest end card supported!). To turn it on, follow the instructions on nVidia’s 3D Vision Setup page. Make sure you have both the correct version of display drivers, and the 3D Vision drivers.

    If you don’t have the correct glasses colors (as I didn’t – I used magenta/green glasses backwards from Monster’s Vs. Aliens DVD – eventually I replaced one lense with a red one from a children’s spy kit I got from Friendly’s) it may be a little tricky to enable the affect in nVidida’s drivers if you don’t have the correct colored glasses, since they don’t actually let you turn it on without testing you first. Just guess at what the answers are and press back if you get it wrong – there are not that many combinations of answers, and you’ll eventually get it right.  Once you do that, you’ll have an option to turn this all on in the Stereoscopic 3D section of your NVIDIA Control Panel (right click desktop to get there), or use the CTRL + T shortcut to turn it on.

    The nVidia drivers work amazingly well on Valve Source engine based games – like Left 4 Dead and Team Fortress 2. In some parts of Left 4 Dead 2, such as the sugar cane fields on the return trip level of Heavy Rain, it may even give you a bit of an advantage, since you can see the depth of the plants – it’s much easier to see where you are going. They did less well in older UT3 engine based games, like Bioshock, where you can see noticeable gaps around some objects where the fog effects just don’t line up correctly in both eyes (it’s shifted to the right or left, for each eye respectively), and certain shadows are lost. Newer UT3 games, like Batman .. Arkham Asylum, which claims out of the box support for nVidia 3D Vision, and Avatar, which has 3D support that must be enabled in game, look phenomenal. (For Avatar you need to set nVidia stereoscopic view on in the driver first and then the game to get it to work). Other Ubisoft games like Assassin’s Creed and Prince of Persia also look great.

    Another option is to use the iZ3D 3D drivers – which work with any 3D card, including ATi Radeon. iZ3D sells a line of specialized monitors that actually polarize two images (similar to how many 3D movie screens work), and use passive glasses to filter out each image from the correct eye, thus presenting two different images to each eye. You don’t need a 3D monitor to use the drivers though, as they have a free anaglyph mode built in (among other modes). These drivers seem to incur a greater performance hit than the nVidia glasses – but despite many posts (seemingly little more than assumptions) I’ve found on forums and blog posts, I actually found them more compatible than nVidia’s drivers, especially in Bioshock, which is downright amazing in 3D (despite missing many shadows). These drivers don’t start out with the modest 3D settings as the nVidia’s more out of the box settings, but once you tweak these (there are more options for tweaking, and each game starts out with a tweaking guide overlay to help you out), you should be up and running.

    The best part of the iZ3D drivers is that you can actually change the color settings of the anaglyph mode (apparently you used to be able to do that for nVidia, but they removed that ability). This is fantastic, because it means you can get all the colors, with less ghosting that you’d miss if you don’t use the correct glasses with the nVidia drivers. Most anaglyphs actually separate 3 colors, not just two – one channel (red) to one eye and the other two channels (green + blue = cyan) to the other. In my case, I am using green and magenta (blue + red). The fact that blue is being split to the wrong eye is why you get ghosting with the nvidia drivers and the Monsters Vs. Aliens (or Coraline) glasses.

    Here’s a quick guide to change the anaglyph colors for iZ3D drivers. First find the correct config file – for me (Windows 7) it was:

    C:UsersAll UsersiZ3D Driver

    I can’t confirm these two, but they helped me find the location in Windows 7 - from the iZ3D forums:

    XP: “Documents and SettingsAll UsersApplication DataiZ3D DriverLanguage”

    Vista: “ProgramDataiZ3D DriverLanguage”

    Once you have opened the Config.xml file in one of those folders, you can edit the following items to make it green/magenta:

    [cc lang=’xml’]




    [/cc]

    In case you are interested, here is a quick key for what these values actually mean – or at least 3 of them – it’s matrix math which is hard ;-):

    m00=”R” m01=”0″ m02=”0″
    m10=”0″ m11=”G” m12=”0″
    m20=”0″ m21=”0″ m22=”B

    There are bugs and drawbacks with each solution – most games were not made with 3D in mind, so this can be a bit of a hack. Some games are missing shadows or have misaligned affects (like Bioshock), and I couldn’t get OpenGL games to work at all with either driver (despite settings for it in iZ3D). Other games seem to perform flawlessly (like Left 4 Dead, Batman or Avatar). Another big drawback of these systems is the cost – full color 3D setups can be pretty expensive $300-$400 for the monitor, and another $200 for the glasses (and an additional $150 for each pair you want to add for group movie watching). The iZ3D solution (and Zalman makes a compatible monitor) are getting cheaper, but are still quite pricey at around $300 for the monitor and cheaper passive glasses (with no other special requirements/costs, except some kind of reasonably strong video card).

    The affect is pretty convincing for me though, and since I already have a nice 120Hz monitor, and a decent enough graphics card, I’ll be adding nVidia Shutter glasses to my birthday list. 🙂