Install software on Vocore?

GinDiamond
 
Posts: 31
Joined: Thu Mar 31, 2016 11:02 pm

Re: Install software on Vocore?

Wed Nov 02, 2016 2:33 pm

I got it!

I just had to change the opkg.conf files to a different repository. I deleted the lists opkg made, rebooted, and then did opkg update.

Python 2.7.10 works now, and I rendered a mandelbrot set fractal!

Code: Select all
minX = -2.0
maxX = 1.0
width = 78
height = 36
aspectRatio = 2

chars = " .,-:;i+hHM$*#@ "

yScale = (maxX-minX)*(float(height)/width)*aspectRatio

for y in range(height):
    line = ""
    for x in range(width):
        c = complex(minX+x*(maxX-minX)/width, y*yScale/height-yScale/2)
        z = c
        for char in chars:
            if abs(z) > 2:
                break
            z = z*z+c
        line += char
    print line


to get this:

Image

Previous
Return to VoCore & VoCore+dock

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest