PicoMite/VGA/Web V5.08.00: Release candidates
| Author | Message | ||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11636 |
V5.08.00RC3 https://geoffg.net/Downloads/picomite/PicoMite_Beta.zip Minor enhancements and definitely no more VGA mode 1 now supports automatically merging the layer buffer when CPU speed is set to 252MHz. MATH C_AND, MATH C_OR, MATH C_XOR As per MATH C_ADD etc. MATH C_AND in1array(), in2array(), outarray() the arrays can be all the same or any combination but must have the same cardinality MATH V_ROTATE MATH V_ROTATE X_CENTRE, Y_CENTRE, ANGLE, x_in(), y_in(), x_out(), y_out() rotates the coordinates in the x and y in arrays around the centre point specified by x_centre and y_centre by the angle specified. The angle respects OPTION ANGLE. x_in and x_out can be the same as can y_in and y_out. LINE GRAPH LINE GRAPH x(), y(), colour Plots as a line graph the coordinates in the x and y arrays example code for the above FRAMEBUFFER create FRAMEBUFFER write f Option angle degrees CLS Dim x(2)=(100,200,100),y(2)=(100,200,200) Line x(0),y(0),x(1),y(1) Line x(1),y(1),x(2),y(2) Line x(2),y(2),x(0),y(0) Do Math v_rotate 150,150,5,x(),y(),x(),y() CLS 'Polygon 3,x(),y(),RGB(red) Line graph x(),y(),RGB(red) FRAMEBUFFER copy f,n Loop Note the difference between using the POLYGON command (closed shape) and the LINE GRAPH command |
||||