Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
I would have to say my secont favorit languge would be VRML verson 2. i'm not talking about VRMLscript I mean pure VRML. who needs veriables or fancy control logic. I had a three story elevator but this is what I could quickly find on the web(and was mine)
#VRML V2.0 utf8 PROTO doorx [ field SFVec3f t 0 0 0 ] { Transform { translation IS t children [ DEF doorts TouchSensor { } DEF ts TimeSensor { cycleInterval 10 loop FALSE } DEF pi PositionInterpolator { key [ 0 .1 .9 1 ] keyValue [ .25 0 0 .75 0 0 .75 0 0 .25 0 0 ] } DEF pi2 PositionInterpolator { key [ 0 .1 .9 1 ] keyValue [ -.25 0 0 -.75 0 0 -.75 0 0 -.25 0 0 ] } DEF tr Transform { translation .25 0 0 children [ Shape { geometry Box { size .5 2.5 .01 } } ] } DEF tr2 Transform { translation -.25 0 0 children [ Shape { geometry Box { size .5 2.5 .01 } } ] } ] } ROUTE ts.fraction_changed TO pi.set_fraction ROUTE pi.value_changed TO tr.set_translation ROUTE doorts.touchTime TO ts.set_startTime ROUTE ts.fraction_changed TO pi2.set_fraction ROUTE pi2.value_changed TO tr2.set_translation }
|\_/|
/o o\
(>_<)
 `-'

In reply to vrml2 by Dr.Altaica
in thread Favorite programming language, other than Perl: by Petruchio

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2021-07-24 03:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?