CLOWNCARD is an art-and-technology project designed for social expression. the physical product is a keychain and NFC powered card.
none
CLOWNCARD is an art-and-technology project designed for social expression. the physical product is a keychain and NFC powered card.
none
đ„ transcental marked your project as well cooked! As a prize for your nicely cooked project, look out for a bonus prize in the mail :)
I made a clowncard as a physical project, namely an NFC card and a clown license keychain. There are 2 types of websites that I need to create, namely a product introduction website (this one) and a website specifically for the âclownbaseâ page, but this one can only be accessed/or has a page if you have a clown license card! So far itâs not that challenging because what will be difficult is later when I create the Clownbase website, here I learned about layouting, flex-direction and I discovered that in CSS you can use Clippy to create simple shapes, thatâs it for this journal, I hope you have a nice day!
from codingShark - the funny clown
this time everything is done, I added the function of changing the card model when pressed, if you press the card with clown model A it will change to clown model B, when pressed it will make a beep sound, here is the code I used:
const logo = document.getElementById(ârotateâ);
const flip = new Audio(âassets/audio/dot.wavâ);
const images = [
'assets/gy2.png',
'assets/gy1.png',
'assets/gy3.png',
]
let currentIndex = 0;
logo, addEventListener('click', () => {
currentIndex = (currentIndex + 1) % images.length;
logo.src = images[currentIndex];
flip.currentTime = 0;
flip.play()
});
I have also included a fillout link and also a link to the PDF, everything is ready complete with indicators that change on each page, namely [star, rhombus, cross, triangle].
Letâs talk a little about what I made, this is a website to show the product, not an NFC website for the product, CLOWNCARD is a card equipped with NFC that takes you to a special website called clownbase, there you can find fellow clowncard users if you tap the card with them, it also has a keychain and sticker (if youâre lucky).
Log in to leave a comment
At first I changed the scroll indicator to just a star shape for everything but I felt it wasnât âclownishâ enough and just looked monotonous so I googled how to make various shapes in CSS, finally I found clippy! and I made each indicator have its own shape. I modified the code like this
.indicator-dot.active {
  height: 18px;
  width: 18px;
  clip-path: polygon(50% 0%, 65% 35%, 100% 40%, 75% 65%, 80% 100%, 50% 80%, 20% 100%, 25% 65%, 0% 40%, 35% 35%);
  background-color: var(âcolor-text);
  border-color: var(âcolor-text);
}
.indicator-dot.active[data-section=â1â] {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.indicator-dot.active[data-section=â2â] {
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
.indicator-dot.active[data-section=â3â] {
  clip-path: polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%);
gimana
Log in to leave a comment
I just added a PDF for more knowledge about clowncard, I put the link to the pdf under the âhow it worksâ section.
here I put a big explanation about what clowncard is, what is the physical item, what is the digital experience, what are the features and who is it suitable for.
Log in to leave a comment
Iâve changed the layout of the indicators, and added one additional page, each with a new title, such as âwhat is itâ âhow does it workâ, âtell me moreâ and âget yoursâ.
Log in to leave a comment
So today I changed some of the appearance such as the location of the scroll indicator, and I also added some additional illustrations that I made in Canva and Procreate, actually this took the most time but unfortunately I didnât use lapse.
I also tidied up the UI for the first page.
Log in to leave a comment
remake some layout and change to another fonts
Log in to leave a comment
i forked the feature from bakebuild and draw the components by my self
Log in to leave a comment