all AI news
Unique and Random Pixel Profile Picture for Anonymous User
July 12, 2023, 11:01 a.m. | Rizmy Abdulla
DEV Community dev.to
Live Preview
Live preview available on : https://rizmyabdulla.github.io/Anonymous-dp/
Anonymous-dp Intergration via CDN
import javascript code via : https://cdn.jsdelivr.net/gh/RizmyAbdulla/Anonymous-dp@main/index.js
<script src="https://cdn.jsdelivr.net/gh/RizmyAbdulla/Anonymous-dp@main/index.js"></script>
Using Anonymous-dp in HTML webpage
create canvas
element with id profile-picture
with width
200 and height
200
<canvas id="profile-picture" width="200" height="200"></canvas>
you can save profile image by a creating a button
Element with id save-dp
<button id="download-dp">Download dp</button>
if you want to generate DP with a button Element,use id generate-dp
.
<button id="generate-dp">Generate dp</button>
if you want to submit this …
anonymous canvas cdn download html image javascript opensource pixel productivity profile random save
More from dev.to / DEV Community
Jobs in AI, ML, Big Data
Software Engineer for AI Training Data (School Specific)
@ G2i Inc | Remote
Software Engineer for AI Training Data (Python)
@ G2i Inc | Remote
Software Engineer for AI Training Data (Tier 2)
@ G2i Inc | Remote
Data Engineer
@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania
Artificial Intelligence – Bioinformatic Expert
@ University of Texas Medical Branch | Galveston, TX
Lead Developer (AI)
@ Cere Network | San Francisco, US