Hi guys,
I was playing with CodeCity. Thanks, Ricky for the effort in porting it to Pharo!
I was wondering if there is a way to pan the city? i.e., not rotating around axes, simple 2D pan.
I also have a “feature request” (that I already implemented myself): I noticed that the CCColorNormalizer lacks of a “zero” color.
In short, when you want to differentiate nodes with weight = 0.
For this I implemented a #CCColorNormalizerWithZeroColor (subclass of CCColorNormalizer) that overrides
ccValue: anObject
| inputValue |
inputValue := self transformation ccValue: anObject.
inputValue isZero
ifTrue: [ ^ self zero ]
ifFalse: [ ^ super ccValue: anObject ]
#zero is a Color, instance variable of CCColorNormalizerWithZeroColor.
Thanks in advance,
Roby
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev