Ir al contenido principal

All Possible Color Combinations

A display can project 16,777,216 different colors.
One way to generate all color combinations is by using the same method employed on this article but with Hexadecimal numbers.

If we count from 0 to 16,777,215(#000000 to #FFFFFF) and convert each number to hexadecimal we will generate all of the 16,777,216 colors.

See this method in action by moving the slider below.
See the Pen All Colors by LiveUser (@liveuser) on CodePen.
By using this method to generate each color and assigning them to individual pixels I was able to produce a 8192x2048(16777216) pixel image.

Comentarios

Entradas más populares de este blog

Mind opening videos and reads

Existence, self-awareness, religion, philosophy and psychology: Existentialism: Crash Course Philosophy #16 Existential Therapy: Meaninglessness The philosophy of Stoicism - Massimo Pigliucci   Is life meaningless? And other absurd questions - Nina Medvinskaya   The Problem of Evil: Crash Course Philosophy #13 Determinism vs Free Will   Behavior and Belief   Mind Field - Freedom of Choice (Ep 5) Why Do We Get Bored? - YouTube    Fear of death: This Ancient Egyptian Mega-Tomb is the Largest of its Kind ⚱️ Tomb Hunters 101 | Smithsonian Channel     ‘Magic Servants’ Found Packed into Ancient Egyptian Tombs ⚱️ Tomb Hunters | Smithsonian Channel El Videojuego más Filosófico que haya Existido | Nier: Automata Reasoning and reality: Can you outsmart the fallacy that fooled a generation of doctors? - Elizabeth Cox (the explanation is a bit childish but this kind of issues are real) Do Chairs Exist?   Plato’s Allegory of the Cave - Alex Gendler - YouTube Cartesian Skepticism - Neo, Meet Rene:

How to learn how to code?

How I got Started My interest in video games(being a gamer) lead me to ask myself a couple of years ago "How do I make video games?". I ended up downloading a game engine called Unity 3d in which I found a Text editor with something called JavaScript . I Googled "What is JavaScript?" and "How to learn JavaScript?"  and ended up in a website called CodeCademy which had a very well structured interactive course. From there I started my coding journey  by reading online docs and different websites learning the basics of web development(HTML, CSS and JS) which lead me to learn how much knowledge I lacked in order to be able to develop video games. Developing video games was a lot harder and complex than I thought, I needed  to acquire 3d modeling skills, learn about texturing and animation, learn at least the basics of game engines and their specific functions for interacting with the scene and the elements using the programming language(scripting), audio r