This is not a flaw in Purebasic, it seems to be the rotation method that causes them to appear, only when a rotation of any number not a multiple of 90 degrees.
Code: Select all
If OpenWindow(0, 100, 200, 1000, 1000, "Rotation Artefacts")
If CreateImage(0, 1000, 1000)
If StartDrawing(ImageOutput(0))
For x=100 To 200
For y=100 To 200
For j=1 To 6
Plot (500+Cos (j*#PI/3)*x-Sin (j*#PI/3)*y,500+Sin (j*#PI/3)*x+Cos (j*#PI/3)*y,16777432)
Next
Next
Next
StopDrawing()
EndIf
EndIf
ImageGadget(0, 0, 0, 0, 0, ImageID(0))
Repeat
Event = WaitWindowEvent()
Until Event = #PB_Event_CloseWindow
EndIf
End