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
Add a button to Beat up Edward extreme remix remix
by everton_trader
TMB SIMULATOR
by Unaiyo_Creador
beat up Venus (1.0)
by Greedomland
beat up tanner (2)
by pmz34
Portal 2 - Want You Gone
by HannahBearNYC
Sprunki Bonus
by sactman134
Colorful Mario Bros.
by HudMum2916
【悲報】全エフェクト終了のお知らせ
by 1296-cat
cat rocket launcher
by malcoman
Beat Up Evil Scratch Cat
by MyCottage
Elevator Simulation v3.0 [BETA] remix remix
by DiKR9000
⚔️ Ninjas ⚔️
by MysticCr8tor
fnf Boyfriend is cursed
by Dababy_CARRRRRRRRR
Beat Up Purple Shep (Purple shep haters can only play)
by GreatDarkWolf
流れていくゴミを、拾って海をきれいにしよう。
by dodekabashi2012
Minecraft SpeedRun | #Games #Art # Stories
by holybird3
fighting dark 827 cannonball, anti kitten disney and.... my god form???????? remix
by NEWADEJOFO_8
ASDF MOVIE SOUND BOARD!
by ASDFCAPTAINSPARKLEZ
Mini Golf+
by Game_ONxx
beat up Greg Heffly remix
by Ian_2507
Plane wars (WWII)
by hujufugu
beat up sesame workshop.EXE
by everton_trader
Make Your Own BFDIA
by PencilfromBfbandTpot
Beat Up Scratch Cat v3.3 first remix
by Soup_forgoodJunior