You are browsing as a guest. Sign up (or log in) to start making projects!

pixelart-galaxy

  • 2 Devlogs
  • 3 Total hours

a galaxy pixelart generated with math and stuff

Ship #1

soooooo, uhmm this project is me having fun with simple math, noise, and colors….(dont zoom out to far lol). had a pretty fast building curve…like i did not need to learn new stuff for it (nvm hex to hsl conversion was a pain in my a**) …I js love how the noise and color thing worked out in the end…and that the ui does not look to shitty at the end

finally my first ship! cant wait to rate projects!!!

  • 2 devlogs
  • 3h
Try project → See source code →
Open comments for this post

25m 43s logged

yayyy scnd logg

css

@Lumethra forced me

its basically a grid…

The body is the main grid container, and each element gets assigned to a specific area:

  • the canvas takes the top row
  • the slider, color picker, and toggle go in the middle row
  • the palette sits in the bottom row

hope your happy now (scnd image is the answer)
good evening

0
0
3
Open comments for this post

2h 24m 48s logged

the one and only?

idk if i am calling this project finished already…but its kinda done…js looks ugly

it started as like a canvas experiment ts, i basically wanted a pixelart playground or whatever…and then i asked myself…why not let it generate a galaxy like shapeee…
and how i did it was drawing a simple grid, generating an even simpler spiral and every point that was in a gridcell decides that this cell is getting colored…easy right?
yup…

color palette

for the coloring, had a little fun there bc i found a SUPERRR interesing video (https://www.youtube.com/watch?v=gnUYoQ1pwes)
and i wanted to kinda let the palette generate from one base color…so i made like hex to hsl conversion with the given color so i could adjust the hue and created several colors from that base hue:
background: a dark, muted versiondust: a darker, desaturated tonenebula: a medium, vivid tonecore: a brighter, lighter highlightstars: a very light near-white toneglow: a brighter accent color, which is not random, but a nice always fiting palette…

the actual coloring

so i used a simple (copied) noise script to decide where which color needs to go, and then for each weight (or height) of each pixel of the noise it chose one of the set colors….

funsies

for funsies one can look at the noise…bc why not

final words

this project ig is more about play, having fun with overcomplicated ways of doing shit and less about polishing a great ui…

have a nice day <3

0
0
4

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…