Luke: Because downloading plugins and waiting for programs to initialize is
*annoying*.  Skulpt in neat, because it runs decently fast, and should work
in all modern web browsers using their existing infrastructure.
That aside, you could run jython inside of a java applet... and I believe
you can interact with the dom via java applet (?), and so if that is true,
then you'd be able to manipulate the dom inside of jython.

(more on topic)
In either case, I'm doubtful that it would be possible to run pyglet without
lots of modification.  In the former case, differences between webgl (which
is based on opengl es2, and depreciates fixed functionality stuff, stuff
pyglet might still use) and the ctypes based api that pyglet uses to make
opengl calls.  Similarly, ctypes calls are problematic again in jython.

Also, while skulpt is surprisingly responsive, I think that the performance
limitations of such an implementation of python would become rather painful
in the context of a 3d game.



On Wed, Mar 17, 2010 at 3:35 PM, Luke Paireepinart
<[email protected]>wrote:

> Why is this even a big deal, Java requires you to download a plugin...  I
> get that it would be cool not to have plugins, but if we as a community
> standardize on a plugin then I don't think it's too big of a deal.
>
> Have you looked into Panda3D?  You might be able to access Pyglet through
> Panda3D, and there's a browser plugin.  It's very nice actually.  It also
> gives you complete DOM access through Python, and it runs regular CPython.
>
>
> On Wed, Mar 17, 2010 at 1:42 PM, Tristam MacDonald 
> <[email protected]>wrote:
>
>> On Wed, Mar 17, 2010 at 2:34 PM, Luke Paireepinart <
>> [email protected]> wrote:
>>
>>> SO what, is it written in JS?
>>
>>
>> Yes.
>>
>>
>>>  On Wed, Mar 17, 2010 at 1:04 PM, Bruce Smith <[email protected]> wrote:
>>>
>>>> Pygleters,
>>>>
>>>> This is interesting -- an in-browser no-plugin implementation of
>>>> python:  http://www.skulpt.org/
>>>>
>>>> Someone just told me about it -- I don't yet know any details except
>>>> what's on the home page.
>>>>
>>>> I wonder if it can interface to the DOM, and in particular to WebGL?
>>>>
>>>
>> As yet, no - in fact, it doesn't even have imports or modules yet. It
>> looks promising, but only time will tell.
>>
>> If so, I wonder if (some of) pyglet could be ported to it? (If so, (some)
>>>> pyglet programs could run in a WebGL-enabled browser with no plugins.)
>>>>
>>>
>> PyCow might be a better possibility for this approach in the near future.
>>
>> --
>> Tristam MacDonald
>> http://swiftcoder.wordpress.com/
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "pyglet-users" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<pyglet-users%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/pyglet-users?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "pyglet-users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<pyglet-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/pyglet-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.

Reply via email to