Rubik's cube: slide the side, take 2

python maths making cube electronics nablopomo ledpanel

A still frame of the animation: the right-hand edge of the cube is part way being rotated towards the user. The coloured squares that are rotating into view are smaller vertically, because of the angle at which they are to the user.

I previously posted about a prototype animation I'd done for a potential large, illuminated Rubik's cube project.

That animation moved the side as if there were a ribbon wrapped all around the cube (well, that slide of it), with the colours painted on it: as the ribbon slides round the cube, the "old" colours disappear and the "new" ones appear, but they all stay the same size. Can we make it more realistic?

Read more...

Welcome to Glasgow

python electronics amaranth nablopomo glasgow

A Glasgow Interface Explorer, with lots of wires coming out of it

Not long ago, this little device arrived on my doorstep: a Glasgow Interface Explorer. Well, that is, the actual circuit board arrived - the case had actually come months ago, so it was nice to be able to fill it.

But what actually is it?

Read more...

Rubik's cube: slide the side

python making electronics nablopomo ledpanel cube

One face of a Rubik's cube, drawn by a script. All the six different colours are visible. The right-hand slice is rotated 90 degrees downwards, and then back again, repeatedly.

I recently posted about a potential project making a large, illuminated Rubik's cube. I'd created an animation of the face nearest the viewer being rotated. But, for completeness, we also need to be able to rotate other faces...

Read more...

Rubik's cube, illuminated

python making electronics nablopomo ledpanel cube

One face of a Rubik's cube, drawn by a script. All the six different colours are visible.

For some reason, many years ago, I bought a few 32x32 LED panels - a bit like these, only much cheaper (I suspect they were being sold off as end-of-stock or similar).

I've since been thinking up ideas for what to do with them. If you're a close observer of my Mastodon feed you may have noticed one panel being put to effect at Hallowe'en - there was quite a lot of work involved in that, which I may blog about later - and though it was a lot of fun, it only used one of the panels.

But I have three such panels... so what to do with them?

Read more...

Latchup

python programming electronics amaranth latchup

Latchup leaderboards showing psmears in position 1

I've wanted for quite some time to learn a hardware definition language - that is, a language that can be used to design chips (ASICs) and FPGAs - because this would enable some cool projects. Finally I've found a solution to bridge a motivation gap...

Read more...

Pythonberries

python programming berry polyglot

Berry is a scripting language tailored to embedded devices; in particular it is available on some builds of Tasmota. It has a syntax that is relatively close to that of Python, but not identical. I recently had cause to write the same program in both, which led me to wonder whether it's possible to write one single program that works in both (that is, a polyglot program).

Let's see what that entails...

Read more...