dot size with pil

2 views
Skip to first unread message

bnw

unread,
Jun 9, 2010, 2:39:25 PM6/9/10
to gheat
In my quest to flood the group with questions I came up with another:

Too many points of data too close together is blobifying my map.
Looks great ~500 but at ~2000 it is a big red blob at the zoom level I
want.

From what I can tell modifying gen-dots.py does not change anything as
pil doesn't touch that script, right?

Does pygame give you more flexibility with dot size? I have tried
modifying the dot images but some strange voodoo takes place and they
resize themselves once given the correct name!

Júlio César Chaves

unread,
Jun 9, 2010, 2:56:31 PM6/9/10
to gh...@googlegroups.com
You can avoid this by trying to spread the points nearby, I did a post with the entire script a time ago, take a search if you want it.

        for w in range(1, i):
         sequence = sequence + 1
         print sequence, "," , row[0] + (0.00001) , "," , row[1] + (0.00001)
         sequence = sequence + 1
         print sequence, "," , row[0] - (0.00001) , "," , row[1] - (0.00001)
         sequence = sequence + 1
         print sequence, "," , row[0] + (0.00001) , "," , row[1] - (0.00001)
         sequence = sequence + 1
         print sequence, "," , row[0] - (0.00001) , "," , row[1] + (0.00001)
         sequence = sequence + 1
         print sequence, "," , row[0] + (0.00001) , "," , row[1]
         sequence = sequence + 1
         print sequence, "," , row[0] - (0.00001) , "," , row[1]
         sequence = sequence + 1
         print sequence, "," , row[0] , "," , row[1] - (0.00001)
         sequence = sequence + 1
         print sequence, "," , row[0] , "," , row[1] + (0.00001)

Júlio César Chaves



--
You received this message because you are subscribed to the Google Groups "gheat" group.
To post to this group, send email to gh...@googlegroups.com.
To unsubscribe from this group, send email to gheat+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gheat?hl=en.


bnw

unread,
Jun 9, 2010, 4:42:05 PM6/9/10
to gheat
Thanks. I see your other post but am not sure how/where you apply
that script. It may be beyond my primitive abilities.

On Jun 9, 1:56 pm, Júlio César Chaves <julio.010...@gmail.com> wrote:
> You can avoid this by trying to spread the points nearby, I did a post with
> the entire script a time ago, take a search if you want it.
>
>         for w in range(1, i):
>          sequence = sequence + 1
>          print sequence, "," , row[0] + (0.00001) , "," , row[1] + (0.00001)
>          sequence = sequence + 1
>          print sequence, "," , row[0] - (0.00001) , "," , row[1] - (0.00001)
>          sequence = sequence + 1
>          print sequence, "," , row[0] + (0.00001) , "," , row[1] - (0.00001)
>          sequence = sequence + 1
>          print sequence, "," , row[0] - (0.00001) , "," , row[1] + (0.00001)
>          sequence = sequence + 1
>          print sequence, "," , row[0] + (0.00001) , "," , row[1]
>          sequence = sequence + 1
>          print sequence, "," , row[0] - (0.00001) , "," , row[1]
>          sequence = sequence + 1
>          print sequence, "," , row[0] , "," , row[1] - (0.00001)
>          sequence = sequence + 1
>          print sequence, "," , row[0] , "," , row[1] + (0.00001)
>
> Júlio César Chaves
>
> On Wed, Jun 9, 2010 at 3:39 PM, bnw <byron.we...@gmail.com> wrote:
> > In my quest to flood the group with questions I came up with another:
>
> > Too many points of data too close together is blobifying my map.
> > Looks great ~500 but at ~2000 it is a big red blob at the zoom level I
> > want.
>
> > From what I can tell modifying gen-dots.py does not change anything as
> > pil doesn't touch that script, right?
>
> > Does pygame give you more flexibility with dot size?  I have tried
> > modifying the dot images but some strange voodoo takes place and they
> > resize themselves once given the correct name!
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "gheat" group.
> > To post to this group, send email to gh...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > gheat+un...@googlegroups.com <gheat%2Bunsu...@googlegroups.com>.
Reply all
Reply to author
Forward
0 new messages