www.nazgee.eu

  • projects
  • android apps
  • about me
  • igepv2
  • blog
Home › SPIN Edit (bitmap => radial coordinates converter)

Reply to comment

SPIN Edit (bitmap => radial coordinates converter)

Program evolved as integral part of SPIN project. It is used to convert input image (bmp format) to it's equivalent in radial form (either text or plain binary). Binary files are quite specific, and reusing theese may not be straightforward, but you can easily use text files in your persistence of vision projects.

Right at the beginnign, I'd like to confess, that source code supplied in this article is awful. There are two reasons:

  • this project is my first encounter with .NET and C# - I've used it to get in touch with platform, which means I deliberately wrote some parts of code dirty and not optimal
  • I am lazy

You'll need C# to compile source code and run SpinEdit.

Below you can see sample of the SpinEdit generated text file. You can use it to initialize array, that Is going to be displayed at your POV display. Use it freely as POV images editor.

0x00, 0x00, 0x01, 0xff, //|_______________________*********|
0x00, 0x00, 0x10, 0xff, //|___________________*____********|
0x00, 0x00, 0x38, 0xff, //|__________________***___********|
0x00, 0x00, 0x38, 0x7f, //|__________________***____*******|
0x00, 0x00, 0x3c, 0x3f, //|__________________****____******|
0x00, 0x00, 0x7e, 0x1f, //|_________________******____*****|
(...)

SpinEdit - screenshot
  • open source
  • C#
  • project
  • Add new comment
  • Polski Polski

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <embed> <object> <script>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <bash>, <c>, <cpp>, <diff>, <java>, <make>. The supported tag styles are: <foo>, [foo].
  • Images can be added to this post.
  • You may use [view:name=display=args] tags to display views.

More information about formatting options

  • English English
  • Polski Polski

Book navigation

  • IGEPv2
  • linux development
  • SPIN tutorials

Recent blog posts

  • Chester - the pink octopus
  • My first Android app
  • Online dictionary from command-line
  • mouse + servo = mouservo
  • Ubuntu One - maybe some time later
  • Setting up latest version of Eclipse under Ubuntu
more

Search

User login

  • Request new password

  • projects
  • android apps
  • about me
  • igepv2
  • blog

Copyright (C) nazgee Wszelkie prawa zastrzeżone