Collection of my arts, designs, and experimentations.
UI
Carousel for text and images, moves to first slide when the end is reached
For better developer experience, I made it a custom element <my-carousel>
What the mark up looks like:
< my-carousel>
< my-slide>
Slide one text goes here
< /my-slide>
< my-slide>
Slide two text goes here
< /my-slide>
< /my-carousel>
See it in full glory by clicking here
An accordion holds infomations in tabs, which can be opened or closed. It is used to show a lot or diffrent pieces of information in chunks, to avoid overwhelming the user/reader.
I also made a web component version <my-accordion> (I'm loving it at this point). It uses Light DOM so it can be styled extensively from thhe main document. The mark looks like:
< my-accordion>
< accordion-tab>
< tab-heading> Heading or title goes here < /tab-heading>
< tab-body> Body content goes here < /tab-body>
< /accordion-tab>
< /my-accordion>
See it fully here
3D/WebGL
A 3D scene for Univase, a flower vase vendor
I experimented with older version of THREE.js, which skip the build phase. Just linking the library and other scripts directly to index.html
The models were made from scratch in Blender. I did some UV unwrapping, baked the textures, export the models and texture, then wrap the baked texture on them with THREE.js, hence no light was created in the scene.
Enough of the technical jargon, click here to have a full screen experience.
Canvas
Others