Any other suggestions for what this axiom could have?Ellipses and filled ellipses (I don't really know how it is called in English but I guess it is called like that).
Great idea :D
May Jacobly post here so he can be +1'd too ?Any other suggestions for what this axiom could have?Ellipses and filled ellipses (I don't really know how it is called in English but I guess it is called like that).
Some form of curves, I'm not sure syntactically how the function would be called, would be nice. Also, being able to do everything on multiple buffers would be really nice.All commands will have variable buffer arguments.
Ellipses are EASY. No, no offense. You can draw an ellipse (unfortunately only horizontal and vertical) using multipliers on the sine andor cosine.You think we calculate the sin/cos of every point on this circle? These routines use integer arithmetic. Calculating the sin/cos of every point would be really slow and unnecessary. Sure, it's POSSIBLE, but there are better ways to do it. Implementing those better ways is what is difficult.
Question, how does the line routine speed compares to the built-in Axe one?Well, that's a good question...It hasn't been written yet, so I can't answer it :P
Oh ok. I was wondering since I am curious if for a 3D program like boot2490's it would be fast enough to allow a game to be playable.Question, how does the line routine speed compares to the built-in Axe one?Well, that's a good question...It hasn't been written yet, so I can't answer it :P
There has been talk that if a clipped line routine is developed, Axe would use that one and this axiom might instead implement a non-clipped line routine for people who want the extra speed and don't need clipping.
Circles anyone? :DThat looks nice and seems quite fast actually. Here's a screenshot by the way :D
Hint: trying pressing arrow keys, +, -, *, /, enter, and clear to exit.
Looks very cool - but I'm not sure I got my question about curves (not ellipses) answered.What kind of curves are you talking about? Bezier curves? Michael_Lee wrote an axe program to do Bezier Curves a while ago. I think it's in the Axe routines thread.
CircleF(X,Y,R) | Draws a filled circle with center (X,Y) and radius R on the main buffer. |
CircleF(X,Y,R)r | Draws a filled circle with center (X,Y) and radius R on the back buffer. |
CircleF(X,Y,R,BUF) | Draws a filled circle with center (X,Y) and radius R on the specified buffer. |
CircleF(X,Y,R,BUF,MODE) | Draws a cleared/inverted/filled circle with center (X,Y) and radius R on the specified buffer. Mode 0 is clear, Mode 1 is invert, and Mode 2 is fill. |
That looks great :D. Do they clip too ?Everything clips entirely. That's part of what kept delaying the release so much :P
*.*That looks great :D. Do they clip too ?Everything clips entirely. That's part of what kept delaying the release so much :P
CircleF(X,Y,R) | Draws a filled circle with center (X,Y) and radius R on the main buffer. |
CircleF(X,Y,R)r | Draws a filled circle with center (X,Y) and radius R on the back buffer. |
CircleF(X,Y,R,MODE) | Draws a cleared/inverted/filled circle with center (X,Y) and radius R on the main buffer. Mode 0 is clear, Mode 1 is invert, and Mode 2 is fill. |
CircleF(X,Y,R,MODE)r | Draws a cleared/inverted/filled circle with center (X,Y) and radius R on the back buffer. Mode 0 is clear, Mode 1 is invert, and Mode 2 is fill. |
CircleF(X,Y,R,MODE,BUF) | Draws a cleared/inverted/filled circle with center (X,Y) and radius R on the specified buffer. Mode 0 is clear, Mode 1 is invert, and Mode 2 is fill. |
Currently written:"Fixed-memory" means there is no risk for stack overflow AT ALL. However, the routine is subsequently very slow, so it will not be suitable for games or anything that needs fast dynamic area filling. It would be fine for a "paint bucket" tool in most on-calc graphics programs though. This will *hopefully* support grayscale filling as well.
- Fixed-Memory Flood Fill (needs optimization)
Currently written:"Fixed-memory" means there is no risk for stack overflow AT ALL. However, the routine is subsequently very slow, so it will not be suitable for games or anything that needs fast dynamic area filling. It would be fine for a "paint bucket" tool in most on-calc graphics programs though. This will *hopefully* support grayscale filling as well.
- Fixed-Memory Flood Fill (needs optimization)
Is this feature released ? Which command do that ? ???