Munching squares: Difference between revisions
Content added Content deleted
(→{{header|PHP}}: Added PureBasic) |
(→{{header|PureBasic}}: Resized picture sample) |
||
Line 240: | Line 240: | ||
[[File:xor_pattern_php.png|PHP output|200px]] |
[[File:xor_pattern_php.png|PHP output|200px]] |
||
=={{header|PureBasic}}== |
=={{header|PureBasic}}== |
||
⚫ | |||
<lang purebasic>#palletteSize = 128 |
<lang purebasic>#palletteSize = 128 |
||
Procedure.f XorPattern(x, y) ;compute the gradient value from the pixel values |
Procedure.f XorPattern(x, y) ;compute the gradient value from the pixel values |
||
Line 267: | Line 266: | ||
Until event = #PB_Event_CloseWindow |
Until event = #PB_Event_CloseWindow |
||
EndIf</lang> |
EndIf</lang> |
||
⚫ | |||
=={{header|Tcl}}== |
=={{header|Tcl}}== |