-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
166 changed files
with
48,222 additions
and
733 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
REBOL [Title: "Host-Kit Graphics: Basic GOB Compositing Test"] | ||
|
||
view/no-wait main: make gob! [color: black offset: 0x0 size: 500x500] | ||
;do | ||
[ | ||
append main make gob! [ | ||
offset: 0x0 | ||
size: 500x500 | ||
draw: [pen 255.0.0 circle 200x200 200.0 200.0] | ||
] | ||
show main | ||
wait 100 | ||
] | ||
|
||
to-draw: func [block] [bind reduce block import 'draw] | ||
|
||
units: 32 | ||
pause: .01 | ||
|
||
points: [] | ||
loop 100 [ | ||
clear main | ||
clear points | ||
repeat n units [append points random main/size] | ||
append main make gob! reduce/no-set [ | ||
offset: 0x0 | ||
size: main/size | ||
draw: to-draw ['pen random 255.255.255 'lines points] | ||
] | ||
show main | ||
wait pause | ||
] | ||
|
||
loop 100 [ | ||
clear main | ||
repeat n units [ | ||
sz: random 100x100 | ||
append main make gob! reduce/no-set [ | ||
draw: to-draw [ | ||
'pen random 255.255.255 | ||
'fill-pen random 255.255.255.255 | ||
'circle sz sz/x * 98% sz/y * 98% | ||
] | ||
offset: random 300x300 | ||
size: sz * 2 | ||
] | ||
] | ||
show main | ||
wait pause | ||
] | ||
|
||
loop 100 [ | ||
clear main | ||
repeat n units [ | ||
sz: random 100x100 | ||
append main make gob! reduce/no-set [ | ||
draw: to-draw [ | ||
'pen random 255.255.255 | ||
'fill-pen random 255.255.255.255 | ||
'box 2x2 sz | ||
] | ||
offset: random 400x400 | ||
size: sz + 4x4 | ||
] | ||
] | ||
show main | ||
wait pause | ||
] | ||
|
||
loop 100 [ | ||
clear main | ||
repeat n units * 10 [ | ||
append main make gob! reduce/no-set [ | ||
color: random 255.255.255.255 | ||
offset: random 500x500 | ||
size: random 80x80 | ||
] | ||
] | ||
show main | ||
wait pause | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,28 @@ | ||
REBOL 3 Host Build Distribution | ||
|
||
Version: 2.100.96.0.0 | ||
Built: 2-Dec-2009/15:37:52-8:00 | ||
|
||
Test build only for early alpha-test developers. Do not distribute. | ||
|
||
Documentation: http://www.rebol.net/wiki/Host-Builds | ||
REBOL 3 Host-Kit Source Distribution | ||
From REBOL Technologies in Ukiah, California | ||
|
||
Version: 2.100.100.0.0 (alpha) | ||
Updated: 12-Jul-2010/13:33:45-7:00 | ||
|
||
The purpose of the R3 Host-Kit is to provide developers with a method of | ||
building custom versions of REBOL, including built-in extension modules. | ||
|
||
The license for the R3 Host-Kit is free for commercial, educational, and | ||
hobby uses with "free" meaning "no charge" for such usage. However, | ||
there are a few minor restrictions, so please read this document: | ||
|
||
http://www.rebol.com/r3/docs/concepts/host-kit.html | ||
|
||
Also, if you make a useful addition to R3, please consider publishing it | ||
to the REBOL community. It's a good way to get others involved and it helps | ||
promote the REBOL zen way of programming. | ||
|
||
NOTE: To build R3, you need a copy of rebol.exe in your build directory. | ||
|
||
Enjoy the Host-Kit, | ||
|
||
-Carl | ||
|
||
Carl Sassenrath | ||
System and Language Designer | ||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.