Go to advanced search

by ajstarks
Thu Jun 19, 2014 5:22 am
Forum: OpenVG
Topic: OpenVG build errors
Replies: 3
Views: 2595

OpenVG build errors

my OpenVG library (https://github.com/ajstarks/openvg) no longer builds properly after a recent rpi-update: Linux ajspi 3.12.22+ #691 PREEMPT Wed Jun 18 18:29:58 BST 2014 armv6l GNU/Linux I get undefined symbols when building clients: cd .. ; make libshapes.o make[1]: Entering directory '/home/pi/go...
by ajstarks
Sun May 11, 2014 7:01 pm
Forum: OpenVG
Topic: Scrolling Text
Replies: 3
Views: 2008

Re: Scrolling Text

// text crawl package main import ( "bufio" "github.com/ajstarks/openvg" "os" "time" ) func main() { width, height := openvg.Init() x := openvg.VGfloat(width) * 0.10 h2 := openvg.VGfloat(height / 2) w := openvg.VGfloat(width) fs := width/20 s := "These are the times that try men's souls" openvg.Sta...
by ajstarks
Mon Mar 24, 2014 1:31 pm
Forum: Graphics programming
Topic: Really (really really) simple graphics programming
Replies: 7
Views: 3568

Re: Really (really really) simple graphics programming

Note that the OpenVG library also works with Go, not just C.
by ajstarks
Sun Mar 16, 2014 4:51 pm
Forum: Graphics programming
Topic: Really (really really) simple graphics programming
Replies: 7
Views: 3568

Re: Really (really really) simple graphics programming

Check out the OpenVG package: https://github.com/ajstarks/openvg I am new to Pi, and to graphics programming but I am familiar with several programming languages. I am looking to write a program that will simply display numbers on a screen that will simply update in response to various sensors. This...
by ajstarks
Sat Mar 08, 2014 6:02 pm
Forum: Graphics, sound and multimedia
Topic: Simple Graphics Display Project - Help Choosing Language
Replies: 7
Views: 1933

Re: Simple Graphics Display Project - Help Choosing Language

Here's one more: Deck:

https://github.com/ajstarks/deck
https://speakerdeck.com/ajstarks/deck-a ... sentations


DeeJay wrote:There are at least 3 existing 'presentation' projects that you might be able to learn from -

PiPresents;
Screenly OSE;
Minimal Kiosk Browser

There may be others...
by ajstarks
Sat Mar 08, 2014 5:55 pm
Forum: OpenVG
Topic: Blinking l in Polle in with drawGlyphs on HDMI monito
Replies: 3
Views: 1739

Re: Blinking l in Polle in with drawGlyphs on HDMI monito

Using a higher-level library may help you: http://github.com/ajstarks/openvg
by ajstarks
Mon Jan 06, 2014 3:56 pm
Forum: OpenVG
Topic: Square sqaures, Circular circles
Replies: 4
Views: 2192

Re: Square sqaures, Circular circles

My Pi is connected via the composite output to one of these tiny TVs: http://www.adafruit.com/products/946 . I'm working on an application using OpenVG. I'm trying to find a combination of /boot/config.txt attributes, DISPMANX/EGL buffer size, and OpenVG view matrix such that drawing fills the TV s...
by ajstarks
Thu Oct 31, 2013 10:17 pm
Forum: OpenVG
Topic: Example program to draw random shapes using the C compiler
Replies: 72
Views: 61964

Re: Example program to draw random shapes using the C compil

sorry, I don't see the mis-spelling
by ajstarks
Fri Oct 25, 2013 2:37 am
Forum: Beginners
Topic: Installing the openvg library
Replies: 4
Views: 3364

Re: Installing the openvg library

sorry you are having trouble with the library. Note that you don't need Go to use the library. You can safely ignore the message: Just follow the instructions on the github page. I just redid it on a spare Pi: (note that I cloned from an existing directory $HOME/gowork/src/github.com/ajstarks. You d...
by ajstarks
Thu Oct 10, 2013 11:12 am
Forum: OpenVG
Topic: Example program to draw random shapes using the C compiler
Replies: 72
Views: 61964

Re: Example program to draw random shapes using the C compil

See: https://gist.github.com/3186193 for an example program that draws random shapes on the Raspberry Pi: Thanks for the example this has been immensely helpful in seeing how VG handles basic geometric shapes. Also check out https://github.com/ajstarks/openvg for a library built from the example.
by ajstarks
Mon Sep 30, 2013 11:41 pm
Forum: OpenVG
Topic: How do I install on Raspbian
Replies: 2
Views: 1870

Re: How do I install on Raspbian

If you want a higher level API for both C and Go:

https://github.com/ajstarks/openvg
http://mindchunk.blogspot.com/2012/09/o ... ry-pi.html

In addition to the the demo clients of the library, there is deck, a presentation tool:

https://github.com/ajstarks/deck
by ajstarks
Tue Aug 27, 2013 11:23 pm
Forum: OpenVG
Topic: "deck" a presentation tool
Replies: 12
Views: 4587

Re: "deck" a presentation tool

I'm also having a hard time figuring out how to do clipping/masking, i.e. even the simplest case where text within a Rect gets clipped so as to not overflow the bounding Rect. Did you find any particularly useful OpenVG reference material? Seem to be a distinct lack of tutorials/examples online. No...
by ajstarks
Mon Aug 26, 2013 11:29 pm
Forum: OpenVG
Topic: "deck" a presentation tool
Replies: 12
Views: 4587

Re: "deck" a presentation tool

Looks good, impressive speed :) I wonder whether you experimented with transition animations and what problems you found. I've been using your OpenVG Testbed [1] project for the last 2 days to do a simple "Now Playing" page for a Spotify app, and I've got some basic animations working fine (a full ...
by ajstarks
Mon Aug 26, 2013 11:20 pm
Forum: OpenVG
Topic: "deck" a presentation tool
Replies: 12
Views: 4587

Re: "deck" a presentation tool

Also note that the deck package has two other clients that work on the Raspberry Pi: pdfdeck for making presentations in PDF format, and svgdeck for SVG. To install:

go get github.com/ajstarks/deck.pdfdeck
go get github.com/ajstarks/deck.svgdeck
by ajstarks
Sat Jul 13, 2013 10:00 am
Forum: OpenVG
Topic: "deck" a presentation tool
Replies: 12
Views: 4587

Re: "deck" a presentation tool

Deck is now a Go package, with a separate "vgdeck" client. (see http://github.com/ajstarks/deck)

You should be able to install it via:

$ go install github.com/ajstarks/deck/vgdeck
by ajstarks
Sat Jun 29, 2013 2:07 am
Forum: OpenVG
Topic: "deck" a presentation tool
Replies: 12
Views: 4587

Re: "deck" a presentation tool

Here is a short video of deck in action:

http://www.youtube.com/watch?v=JNtBS60UFUI
by ajstarks
Wed Jun 26, 2013 6:31 am
Forum: OpenVG
Topic: "deck" a presentation tool
Replies: 12
Views: 4587

"deck" a presentation tool

Deck is a tool for doing presentations on your Raspberry Pi. The tool is written in Go, using the OpenVG library [1]. See [2] for the source code, including a sample deck. By design the number of objects supported is small: text (plain and code blocks, plain and bullet lists), and images. Positionin...
by ajstarks
Fri Jun 21, 2013 10:19 am
Forum: Graphics programming
Topic: Simple EGL
Replies: 4
Views: 3365

Re: Simple EGL

Please upgrade to at the latest version of Go. Here is the recipe: $ cd # I build go from my home directory $ sudo apt-get update && sudo apt-get upgrade $ sudo apt-get install git # needed for go get $ sudo apt-get install mercurial # also needed for some go-gettable packages $ sudo apt-get install...
by ajstarks
Thu Jun 20, 2013 11:33 am
Forum: Graphics programming
Topic: Simple EGL
Replies: 4
Views: 3365

Re: Simple EGL

by ajstarks
Sat Apr 13, 2013 4:37 pm
Forum: OpenVG
Topic: OpenVG and Go Programming Language
Replies: 4
Views: 2937

Re: OpenVG and Go Programming Language

sounds interesting. Do you have a link to your code?
by ajstarks
Sun Jan 27, 2013 4:47 pm
Forum: Other programming languages
Topic: The Go Programming Language on the Raspberry Pi
Replies: 36
Views: 37852

Re: The Go Programming Language on the Raspberry Pi

The best way to run Go on the Raspberry Pi is to build from "tip".

$ cd
$ hg clone -u default https://code.google.com/p/go
$ cd ~/go/src
$ ./all.bash

My practice is to get a "weekly" every Friday (or when some significant update occurs)

$ cd ~/go
$ hg pull
$ hg update -v
$ cd src
$ ./all.bash
by ajstarks
Sat Jan 26, 2013 2:43 pm
Forum: Graphics programming
Topic: any simple C (using OpenGL) program ????
Replies: 4
Views: 7131

Re: any simple C (using OpenGL) program ????

If 2D graphics is what you are looking for, here is a high-level library built on OpenVG:

https://github.com/ajstarks/openvg
http://mindchunk.blogspot.com/2012/09/o ... ry-pi.html

Go to advanced search