This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-04-11 08:42:11

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Shapes Discussion - Codes into Shapes!

ShApEs Discussion!

Shapes Discussion - discuss your "codes into actual shapes" method.

Mine: Scale Code, packed with ScaleScript.
I've got a Word document about it, and here it is.

Scale code of a dot is ().

Scale code of a short line is (‘0’ | ’10’)

Scale code of a normal square is (‘-10’ ‘10’ | ’10’ ‘-10’)

Scale code of a normal cube is (‘-10’ ‘10’ ‘10’ | ‘10’ ‘-10’ ‘10’ noZpositionInCode 3rdVar=ZLength) [close upper than usual version]

Scale code of a normal tesseract is (‘-10’ ‘10’ ‘10’ | ‘10’ ‘-10’ ‘10’ smallerCubeInsideBiggerCube smallerCubeCornersConnectedToBiggerCube supportForGoThrough wPositionNotUsed canChangeScaleCodeViaZW,XW+YWRotations-via-broadcastMessage’Smalloutofbig’ Receive’Smalloutofbig’-smallCubeTransformToBiggerCubeAndBiggerCubeTransformToSmallCube anaKataDirections renameUpToUpsilon renameDownToDelta) [ScaleScript required to set]

Scale code of a normal 5-dimensional peneract is (‘-10’ ‘10’ ‘10’ | ‘10’ ‘-10’ ‘10’ smallerCubeInsideBiggerCube smallerCubeCornersConnectedToBiggerCube supportForGoThrough wPositionNotUsed canChangeScaleCodeViaZW,XW+YW+ZV+YV+XVRotations-via-broadcastMessage’Smalloutofbig’withInput’smallcube’ Receive’Smalloutofbig’-[input]CubeTransformToBiggerCubeAndBiggerCubeTransformToSmallCube cloneSmallCubeIntoNewCubeInSmallCube newRotationsForNewCubeToBroadcast’Smallcubeoutofbig’withInput’new’ renameUpToUpsilon renameDownToDelta unknownNewDirections) [ScaleScript required to set]

What’s ScaleScript? It is an allower to add extra details from a tesseract and a penertract required to code into the shape. ScaleScript allows for extra dimensions to be ScaleCoded. The scale codes after a tesseract are actually quite easy, unlike the Schaliffi codes and numbers. All you need to do is do another object inside the smaller one via code and do the broadcast with input of it’s name and it’s done! This applies to some other shapes too.
What may touch your mind about it is no need for more than 3 values on tesseracts and higher! This is because ScaleScript auto-scripts those rotations and movements.
Also, did you know...
A triangle is (‘-10 ‘-10’ | ‘0’ ‘10’ | ‘10’ ‘-10’ autoAddExtraPointsAtSquareRoundIsFalse) translated into shape!
A circle is (‘-10’ ‘10’ | ’10’ ‘-10’ dimRounded-curvy?Boolean roundedIsTrue) translated into shape!

[modified to fit Scratch Forums]
Now talk about your imaginative codes to make shapes!

Offline

 

Board footer