
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

メダルゲーム がっぽり寿司 English support
by yosiotouzyou2

Beat Up Super WHY! 5
by MichaelLopez832

BFDI 4 Scene Recreated In Scratch!
by Vlad9407

カービィ大戦争 kirby war
by norumaku

Beat up kick the buddy 2
by MagzyBogues

Beat Up Numberblock 2 (refixed)
by zoomanimal

Fish Royale Scratch's Official remix
by Zains2029

Boom Bam Bop [ Endless ]
by BigBouncyBanana

FNF ♪BOMBED OUT♪ (DONE!)
by pock8

talking tom and ben news ohio 3 v0.1 remix-3 remix remix-5
by kuponoIs

insanity engine 1.5.5
by Silver_Wolf5874

Lemonoid Invasion v1.08
by Dandyprogrammer12

talking tom and ben news 2: edición.exe (70 71 75 76) Tom and Ben news 2 come will back INFINTY DAYS
by orcalane10

the worst mistake of my life
by dragon99999999

Slither.io (scratch edition!)
by tingeyshark

¡THE FULL UNUSED RALR CAST! remix remix remix
by furbyfamilyfan

How to Make Your Own Raytracer: Part 1
by Geotale

Geometry Dash Sonic Wave W.I.P
by yeetmaster3799

TurboWarp判別機
by hayato0425

FNF Indie Cross Simulator [The Devil Update!]
by rayyaka

The Scratch Show (TSS) EP. 1 | The RoadTrip | #animations #stories #all
by -Gr33nB3an-

Beat up Animatube DLC 6.2
by TAHFalternate

Beat Up Talking Ben
by jakubko2010

Tetracube
by stickfiregames