Skip to content

hellerve/gt4processing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

gt4processing

is a simple clone of Processing for GT. It’s also a work in progress.

Installation

The repository contains a Metacello baseline, such that you should be able to execute the following to get the code:

Metacello new
	baseline: 'Processing';
	repository: 'github://hellerve/gt4processing:main/src';
	load.

Usage

(PrSketch
	setup: [ :aCanvas | 
		aCanvas
			size: 500 @ 500;
			background: Color veryVeryLightGray ]
	run: [ :aCanvas :frameNumber | 
		aCanvas
			fill: Color blue;
			stroke: Color green;
			rectangleAt: 10 @ 10 withSize: 100 @ 100;
			stroke: Color red;
			lineFrom: 110 @ 110 to: 300 @ 300;
			fill: Color orange;
			stroke: Color white;
			circleAt: 350 @ 350 withRadius: 100 ])
	frameRate: 0

Demo

gt4processing_demo.mov

Have fun!

About

is a Processing clone in GT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published