Difference between revisions of "AoPS Wiki:Sandbox"
(→Sandbox Area) |
(→Sandbox Area) |
||
Line 18: | Line 18: | ||
<asy>unitsize(.4cm); | <asy>unitsize(.4cm); | ||
− | for(int i=0; i < | + | int[][] c = {{0,0,1},{0,1,1},{1,1,0}}; |
− | for(int j=0; j < | + | int[] r = {255, 0}; |
+ | int[] g = {0,0}; | ||
+ | int[] b = {0, 255}; | ||
+ | for(int i=0; i < 3; ++i) { | ||
+ | for(int j=0; j < 3; ++j) { | ||
+ | pen rgb(r[c[i][j]], g[c[i][j]], b[c[i][j]]); | ||
dot((i,j)); | dot((i,j)); | ||
} | } |
Revision as of 08:43, 31 March 2009
Welcome to the sandbox, a location to test your newfound wiki-editing abilities.
Please note that all contributions here may be deleted periodically and without warning.
This article has been proposed for deletion. The reason given is: duplicate of AoPS Wiki:Sandbox/header
Sysops: Before deleting this article, please check the article discussion pages and history. |
In the computer world, a sandbox is a place to test and experiment -- essentially, it's a place to play.
This is the AoPSWiki Sandbox. Feel free to experiment here.
Warning: anything you place here is subject to deletion without notice.
Sandbox Area
unitsize(.4cm); int[][] c = {{0,0,1},{0,1,1},{1,1,0}}; int[] r = {255, 0}; int[] g = {0,0}; int[] b = {0, 255}; for(int i=0; i < 3; ++i) { for(int j=0; j < 3; ++j) { pen rgb(r[c[i][j]], g[c[i][j]], b[c[i][j]]); dot((i,j)); } } (Error making remote request. Unknown error_msg)
$
Testing answers template:
googology101talk • contribs 22:07, 27 February 2009 (UTC)