ScratchData LogoScratchData
Back to ivan321's profile

4D Matrix Manipulation

IVivan321•Created December 22, 2017
4D Matrix Manipulation
101
85
2865 views
View on Scratch

Instructions

This project lets you manipulate a four-dimensional matrix. Each dot in the cube has a unique x, y, and z value, and a unique rgba value (the fourth dimension). Use the sliders to specify a range of elements you want to change in x, y, and z (1 to 16); then set new rgba values for the target elements (0 to 255). With repeated manipulations, you can make some interesting 4D objects. Click "Process" to see an expression combining all the variables. Click "Apply" to apply your changes. Press 1, 2, or 3 to see some pre-loaded shapes. Press H to hide or show the variables and buttons.

Description

This was inspired by and entirely built upon @selim_tezel's amazing RGB Color Cube. Watching the cube spin, I got to wondering if there would be any way to let the user address each dot in the matrix. Thanks to @griffpatch for the text engine. This project runs much more smoothly here: https://phosphorus.github.io/#195055655

Project Details

Project ID195055655
CreatedDecember 22, 2017
Last ModifiedJuly 21, 2019
SharedDecember 23, 2017
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root