Software apps and online services
I have been exploring images for some time now. Taking photographs, editing the photographs, and adding text with graphical editors has always been something to use for boredom in my life. Activities are always better than sitting still!
Did you ever want to make your own fractal images with an embedded computer? Well, I have some good news and some okay news.
Good news, first.
- I will show you a link where it may be easy to turn a bunch of python source into a fractal image and I will try to display the source here on this page.
The okay news now.
- Without the BBBW (BeagleBone Black Wireless) and Mr. Roberge, fractal imagery would not be a part of this quick lesson. I did not write or type up this project to boast about what I have done but only to show you what is possible is in my delight.
Enough of the odd chatter. Okay:
So, we have an embedded computer, some python source, and a connection to the development desktop via USB for programming.
On that page on this person's blog, the person keynotes the ideas and provides the source for promoting a fractal image. Although interesting to look into and around the boundaries of it, there are tons of ideas that go into this image. We have Tkinter, Python3, embedded computers, tightvncviewer, VNC Viewer on our development desktop, and other ideas.
Let us begin...
Oh and do not hesitate to go to the blog to read up on the source and ideas circulating from 2010. There is some juicy info. on that page about what transpires, how it transpired, and what it all has to to with fractals from a Python perspective.
We have a photo...
I used a BeagleBone Black Wireless to move and translate this image via VNC Server. Let us get down to business.
Now, use this command and then reboot your board:
This command will inflate the size of your SD Card partition for your BBBW.
Next, on the BBBW after the reboot, install these tools with apt like so...
sudo apt install tightvncserver python3-dev python3-pip xfce4
On your development desktop, install VNC Viewer. VNC Viewer can be found here: https://www.realvnc.com/en/connect/download/viewer/. If you are on Linux or Win or whatever, realvnc has a VNC Viewer for you (I think).
Now, onto source...
Oh and that above apt install for xfce4 will take up a lot of room. So, please make sure you grow your partition on your secure digital card or SD Card. Yep. SD is an abbreviation for secure digital.
If you have an 8GB card, good. I think you can go up to 32GB in size with the BeagleBone Black Wireless.
Now, once apt is finished installing your required packages, please use this command to get some additional software for this project and future projects.
sudo apt install python3-matplotlib python3-numpy
Once those have finished processing, it is time to storm the board with source.
When you have time, please look at the final stage of items for your source.
Before I forget, since I actually did forget (Ha), type in your ssh session this command on your BBBW:
When prompted, typed a password. When prompted, re-enter your password. You will need it when you sign in on your desktop computer or laptop computer when accessing VNC Viewer for the BBBW. Also, type "n" when prompted for a "read-only" password. Do not allow people to pry in on your business. Passwords are secretive for a reason. Personal space!
Okay. Now, start a VNC Viewer session by opening the application on your development desktop/laptop. Once inside the application, type your IP Address to your board. If you do not know your IP Address to your board, type this in an ssh session:
Now, we should be able to sign in to the VNC Viewer on the desktop/laptop when prompted with needing to provide a password. Oh? Did you see how the computer, you BBBW, registered the initial connection of vncserver with beaglebone:1. That one signifies what needs to be added to the end of the IP Address along with the colon. So, if your IP Address is 192.168.42.58, make it so that, in the VNC Viewer server address bar, :1 is put on the end of your IP Address like this: 192.168.42.58:1. This one actually is your opened server. You can have more than one open server with this tightvncserver at a time.
P.S. Hopefully, I can set up another post soon on processing live video feeds with the BBBW and mjpg-streamer.