Jump to content

Grid bubble notation


Small Fish

Recommended Posts

Hi I have written some code that makes a grid with grid bubbles (circles) at one end of each line. My next probem is how do I populate each bubble with with either a letter or number? eg 1 2 3 4 5... or A B C D E.... etc

I am sure something like this has been done before, but searching google I have found nothing. So far I have a points list where each letter or number is located, but I am not sure what do next.

Any ideas please?

Link to comment
Share on other sites

I designed mine as simple block with an attribute to be edited, you should probably start there, at least in my opinion, the bubble seems rather simple to be using code on.

Link to comment
Share on other sites

The numbers are obvious just num then num +1

 

ABC is easy also use chr to quote the lisp book (chr 65) = A (chr 66) =B (chr 90) =Z just remember you have 26 plus 26 I will let others work that out.

 

(setq x 72) (chr x)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...