GithubHelp home page GithubHelp logo

vfx's Introduction

Github pages project site (theme from scratch)

one site per GitHub account and organization, and unlimited project sites

  • choose pre-built themes, or to create a site from scratch
  • Head over to GitHub.com and create a new repository, or go to an existing one
  • Create an index.html and type some HTML content into the editor
  • Scroll to the bottom of the page and commit the new file
  • Click on the Settings tab and scroll down to the GitHub Pages
  • select the main branch source and click on the Save
  • you're done! go to http://username.github.io/repository

https://pages.github.com/

Github pages limitations

one site per GitHub account and organization, and unlimited project sites

https://pages.github.com/

Types of GitHub Pages sites three types of GitHub Pages sites: project, user, and organization Project sites are connected to a specific project hosted on GitHub User and organization sites are connected to a specific account on GitHub.com

publish a user site, you must create a repository owned by your personal account that's named .github.io publish an organization site, you must create a repository owned by an organization that's named .github.io one user or organization site for each account on GitHub Project sites, whether owned by an organization or a personal account, are unlimited

GitHub Pages source repositories have a recommended limit of 1 GB. For more information, see "About large files on GitHub" Published GitHub Pages sites may be no larger than 1 GB. GitHub Pages deployments will timeout if they take longer than 10 minutes. GitHub Pages sites have a soft bandwidth limit of 100 GB per month. GitHub Pages sites have a soft limit of 10 builds per hour. This limit does not apply if you build and publish your site with a custom GitHub Actions workflow

https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages

File size limits GitHub blocks files larger than 100 MiB files beyond this limit, you must use Git Large File Storage (Git LFS

If you attempt to add or update a file that is larger than 50 MiB, you will receive a warning If you add a file to a repository via a browser, the file can be no larger than 25 MiB

https://docs.github.com/en/repositories/working-with-files/managing-large-files/about-large-files-on-github

Repository size limits recommend repositories remain small, ideally less than 1 GB, and less than 5 GB is strongly recommended

https://docs.github.com/en/repositories/working-with-files/managing-large-files/about-large-files-on-github

Three.js Option 2: Import from a CDN

https://threejs.org/docs/#manual/en/introduction/Installation

<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
<script async src="https://unpkg.com/[email protected]/dist/es-module-shims.js"></script>

<script type="importmap">
  {
    "imports": {
      "three": "https://unpkg.com/[email protected]/build/three.module.js",
      "three/addons/": "https://unpkg.com/[email protected]/examples/jsm/"
    }
  }
</script>
		<style>
			body { margin: 0; }
		</style>
	</head>
	<body>
		<script type="module" src="main.js"></script>
	</body>
</html>

index.html we'll need to add an import map defining where to get the package Put the code below inside the tag, after the styles import maps are not yet supported by some major browsers, we include the polyfill es-module-shims.js

replace with an actual version of three.js, like "v0.149.0" most recent version can be found on the npm version list

host these files at URL where the web browser can access them to deploy your web application, push the source files to your web hosting provider no need to build or compile anything keep the import map updated with any dependencies (and dependencies of dependencies!) IMPORTANT: Import all dependencies from the same version of three.js, and from the same CDN

three.js components โ€” such as controls, loaders, and post-processing effects โ€” are part of the addons/ Addons do not need to be installed separately, but do need to be imported separately

@TODO Three.js Option 1: Install with NPM and a build tool

https://threejs.org/docs/#manual/en/introduction/Installation

vfx's People

Contributors

julia84100 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.