Skip to content

c-frame/valid-avatars-glb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Validated Avatar Library for Inclusion and Diversity (VALID)

This is all the VALID avatars converted to glTF.

210 avatars listed in avatars.json.

You can use this repo directly from the CDN jsdelivr to create a UI to select an avatar for example.

Example of code to download the list of avatars, create the image url and model url to download them:

const avatarsBaseUrl = 'https://cdn.jsdelivr.net/gh/c-frame/valid-avatars-glb@c539a28/';
const fetchAvatars = async () => {
  const response = await fetch(avatarsBaseUrl + 'avatars.json');
  if (!response.ok) {
    return [];
  }
  const results = await response.json();
  console.log(results);
  results.forEach((entry) => {
    console.log(avatarsBaseUrl + entry.image);
    console.log(avatarsBaseUrl + entry.model);
  });
  return results;
};
fetchAvatars()

For a demo of using those avatars with networked-aframe, see this repo.

About

VALID avatars converted to glb

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published