


Neat!
Note: you can add a cheap z-buffer by checking screen pixel color before drawing the next. That makes the objects a bit more solid imho.
local c=5 if z > 0.33 then c=7 elseif z > -0.33 then c=6 end -- 3d point calc ... -- zbuffer! if pget(sx,sy)<c then pset(sx, sy, c) end |
Question: what is the purpose of the quicksort? It is not used to order the points, then what?



Good comment regarding z-buffer.
The QuickSort is used for not morphing random points but to make the morphing more sensible. So that dots with a similar x, y are morphed.
[Please log in to post a comment]