
Colour Wheel 3d
by njdavison
Description
Colour: 0° Red, 60° Yellow, 120° Green, 180° Cyan, 240° Blue, 300° Magenta Saturation: Outside 100%, Centre 0% Brightness: Front 100%, Back 0% Tints are created by adding white to a colour. Tints are found along the lines from the outside to the centre of the wheel. Shades are created by adding black to a colour. Shades are found along the lines from the front to the back of the wheel. Tones are created by adding grey to a colour. Tones are found along the diagonal lines of the wheel. 13 3d vectors are created. 1 for the direction of the axle, and 1 for the direction of each of the 12 spokes. Each update the vectors are transformed (scaled, rotated) to their current size, direction. 3d points are calculated using the transformed vectors and projected onto the 2d screen. The points at the back of the wheel are drawn first so the points at the front appear on top. See HSV colour cylinder https://en.wikipedia.org/wiki/HSL_and_HSV https://en.wikipedia.org/wiki/Tints_and_shades Transformation Matrix https://en.wikipedia.org/wiki/Transformation_matrix The 2d screen coordinates can be found using the properties of similar triangles. See: https://en.m.wikipedia.org/wiki/3D_projection#Diagram Bx=Ax*Bz/Az where Bx is the screen x coordinate Ax is the model x coordinate Bz is the focal length: the distance on the z axis from the camera to the screen. Az is the subject distance: the distance on the z axis from the camera to the model z coordinate.
Instructions
Green flag to start Please see the big brother of this project: Colour Wheel 3d Interactive - Explore and Discover https://scratch.mit.edu/projects/468394941/ Whilst you're here why not check out: Science: https://scratch.mit.edu/studios/26831275/ Games: https://scratch.mit.edu/studios/27050111/ #3d #colour #color
Project Details
- Visibility
- Visible
- Comments
- Enabled
More Cool Projects

Beat up Scratch Cat DLC 2 remix
by Dhyeguinho

Blue OS v2.27.1
by OS_Blue

Massive Multiplayer Platformer v1.3 But its badly recreated
by Ed-briayant

旧にゃんこ大戦争(わんこ大戦争宣伝用)
by Cube0206

Beat Up DJEICK DWORECCIY
by DJEICKDWORECCIY

Beat the scratch cat v1.3!
by tiny_baby_boy77

[β] 2代目!プロセカっぽい音ゲー作ってみた
by spacediver

sprunki oc real
by leonprieto

BEAT UP WALKCYCLE FROM WEB (OBJECT SHOW!)
by dirtotheobjectrises

【マイクラアニメ】侵略者の逆襲【敵を仲間にできるハードコア】
by Rozuki-masuhi

Every ALBTWIWIOF Letters right before Z rewound time…
by AlfabetoLoreSerie

雪合戦deバトル 改 V11 ハロウィン?
by 02515617

Minecraft Gold Update ! (texture pack)
by Andybosto

Super Smash Bros. Ultimate v 1.7.1 ☁
by daveandholls

3D Tennis Deluxe
by VortexCoding223

Soup Can Moments From BFOD 1/BFOD SOUP CAN
by mattheng

beat up mario.exe!!!2
by errorroblox1

angry birds 2 with bomb
by scarboy01

Geometry Dash Wave Challenge (Nerfed Remix)
by XavyGD

Scratch's Elites EP1-2 [Initializing]
by Walle10-0

FNF Indie Cross
by littllcupcake114

【マイクラアニメ】決戦準備...【敵を仲間にできるハードコア】
by Rozuki-masuhi

Fifa Pack Simulator
by ZDM12LV

Numberblocks Band Quarters 12
by fabiantube