Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Saturn (typo)

by eyepopslikeamosquito (Bishop)
on Oct 13, 2004 at 23:22 UTC ( #399049=note: print w/replies, xml ) Need Help??

in reply to Saturn

D'oh, just realised I made a typo on the 4th last line of Saturn's body, using a comma instead of a dot. That is, instead of:


I meant to type:


Oh well, that typo seems to have created an "accidental" visual effect. :-) If you make the one character change described above, you'll notice the "Saturn tilt sequence" runs faster and without flicker. Not sure which one looks better however. Update: fixed the typo in the root node after feedback from ysth.

Replies are listed 'Best First'.
Re^2: Saturn (typo)
by ysth (Canon) on Oct 14, 2004 at 08:31 UTC
    Much better with the change. I notice on the 5th image of the approach, there are three missing rows on the bottom that chop off part of the rings. Is this just me?

      I can't see it. You might try running the obfu redirecting stdout to a file, then cutting and pasting the offending shape so we can see it. I just did that and the 5th image (a half size Saturn) looked ok to me and was 21 lines long (exactly half the 42 lines in the obfu). Here it is.

      ''' ''''''' ''''''''' '''''''''' $~~~-~'/$# '' '''' {~~~~~~(^=~~~~# '''' ~~~@)'~~~~~(/~~$# ''' @[=+'~~]\\'~~@[~~~#''' ---~\--~$=~#-~~~~] '' $.$~(----~~~$=~{~ '' ~ !$+%~$],--}~~(~ '' ~~~ (~~~./@)@=&~~ '' &~,~, ~>~,~$=$(-~ '' ),$(~! ''',~$-(),- ' -&~'~~~{ '' +.~~~ ' @=~~~@#~~ ''' ~ '' $(~~~~~~!~ ''''' '' -$,.~~~%.+~ ''''''''''' }@,.) ''''''''' ''''''' '''

      The algorithm to create a half-size shape is to take lines 1,3,5,... and for each line to take chars 1,3,5,... (this is done in sub $R).

      I see the same effect. Moreover, during Saturn's left-right dance, the bottom of the rings is always displayed at the lower-right corner. But this is only a visual effect, I tried OP's suggestion of redirection and all seems good.

      Flavio (perl -e 'print(scalar(reverse("\nti.xittelop\@oivalf")))')

      Don't fool yourself.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://399049]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2020-10-25 11:21 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (249 votes). Check out past polls.