You are not logged in or registered. Please login or register to use the full functionality of this board...
SIGN IN Join Our Community For FREE


fig 4.3: made quit() work on older versions of python
07-11-2017, 01:39 PM
Post: #1
 (Print Post)
fig 4.3: made quit() work on older versions of python
fig 4.3: unless you have a powerpc, probably nothing about it is worth the upgrade from 4.2.


Attached File(s)
.py  fig43.py (Size: 59.82 KB / Downloads: 8)
Find all posts by this user
Like Post
07-12-2017, 04:28 AM
Post: #2
 (Print Post)
RE: fig 4.3: made quit() work on older versions of python
this is probably better. 4.3 fixed the translator, but 4.4 also fixes the translated output... a-ha.

making it work in a relatively ancient version of python isnt a priority, its more for fun. if it doesnt work out i wont try to coerce it to work in pre-2.6.x versions.


Attached File(s)
.py  fig44.py (Size: 59.87 KB / Downloads: 6)
Find all posts by this user
Like Post
07-18-2017, 11:34 PM
Post: #3
 (Print Post)
RE: fig 4.3: made quit() work on older versions of python
[Image: Cxhrf2Z.png]
Find all posts by this user
Like Post
07-21-2017, 06:58 AM
Post: #4
 (Print Post)
RE: fig 4.3: made quit() work on older versions of python
This is pretty cool!

Would it be possible for you to post the Python output source?

Thanks!
Find all posts by this user
Like Post
07-21-2017, 08:50 AM
Post: #5
 (Print Post)
RE: fig 4.3: made quit() work on older versions of python
sure, but if you have this and fig44.py, all you do is say:

fig44.py bestwp.fig

and youre good.

Code Snippet: [Select]
#### license: creative commons cc0 1.0 (public domain)
#### http://creativecommons.org/publicdomain/zero/1.0/

###################################################
textmode
r : 59
c
x : 150
y : 115 : divby 2
for p -3.14 3.14 .628 #628
for pr -3.14 3.14 .628 #628
dx  : p  : cos : times r : times 2
dy  : p  : sin : times r
dxr : pr : cos : times r : times 2
dyr : pr : sin : times r
z  : c : plus 1 : swap z c
xx : x : plus 5 : plus dx  : int
yy : y : plus 5 : plus dy  : int
x2 : x : plus 5 : plus dxr : int
y2 : y : plus 5 : plus dyr : int
cc : c : mod 5 : plus 10
z  : line xx yy x2 y2 cc
z : sleep .005
next
next
z : lineinput
###################################################

python output in attachment.


Attached File(s)
.py  bestwp.fig.py (Size: 17.52 KB / Downloads: 6)
Find all posts by this user
Like Post



Forum Jump:


User(s) browsing this thread: 1 Guest(s)




QB64 Member Project - Othello
QB64 Member Project - RGB Color Wheel
QB64 Member Project - Rubix's Magic
QB64 Member Project - Bowditch curve
QB64 Member Project - Martin Fractals version two
QB64 Member Project - Kings Vallery version two
QB64 Member Project - Kobolts Monopoly
QB64 Member Project - Dakapo
QB64 Member Project - Martin Fractals version three
QB64 Member Project - Quarto
QB64 Member Project - Foursight
QB64 Member Project - Touche
QB64 Member Project - Color Triangles
QB64 Member Project - Inside Moves
QB64 Member Project - Sabotage
QB64 Member Project - Spinning Color Wheel
QB64 Member Project - Algeria Weather
QB64 Member Project - Blokus
QB64 Member Project - Martin Fractals version one
QB64 Member Project - Exit
QB64 Member Project - Red Scrolling LED Sign
QB64 Member Project - Splatter
QB64 Member Project - Pivet version one
QB64 Member Project - Isolation
QB64 Member Project - Rotating Background
QB64 Member Project - Kings Court
QB64 Member Project - Domain
QB64 Member Project - Swirl
QB64 Member Project - Basic Dithering
QB64 Member Project - Point Blank
QB64 Member Project - Spiro Roses
QB64 Member Project - Connect Four
QB64 Member Project - Overboard
QB64 Member Project - Input
QB64 Member Project - Full Color LED Sign
QB64 Member Project - ARB Checkers
QB64 Member Project - Score 4
QB64 Member Project - Amazon
QB64 Member Project - 9 Board
QB64 Member Project - Line Thickness
QB64 Member Project - Martin Fractals version four
QB64 Member Project - Pivot version two
QB64 Member Project - MAPTRIANGLE
QB64 Member Project - OpenGL Triangles
QB64 Member Project - STxAxTIC 3D World
QB64 Member Project - Qubic
QB64 Member Project - Dreamy Clock
QB64 Member Project - Kings Valley verion one
QB64 Member Project - Color Rotating Text