Giter VIP home page Giter VIP logo

uu00uu's Introduction

/\ \/\ \/\ \/\ \  /'__`\  /'__`\/\ \/\ \/\ \/\ \    
\ \ \ \ \ \ \ \ \/\ \/\ \/\ \/\ \ \ \ \ \ \ \ \ \   
 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \  
  \ \ \_\ \ \ \_\ \ \ \_\ \ \ \_\ \ \ \_\ \ \ \_\ \ 
   \ \_____\ \_____\ \____/\ \____/\ \_____\ \_____\
    \/_____/\/_____/\/___/  \/___/  \/_____/\/_____/

 exploring nonsense 3d interactions through webtoys

空 空 空 空 空 空 空 空 空 空 空 空 空 空 空 空 空 空

~VISIT HERE ~

HOW TO DEVELOP

setup

make sure you installed jekyll and grunt in your computer

$ bundle install
$ npm install

in order to create thumbnails, you'll need ffmpeg in order to deploy to surge, you'll need surge ✌️

development

for info on how to develop for jekyll, visit jekyll's awesome docs.

to create a local server that serves the experiments/webtoys run:

$ grunt dev

in development there's no compilation of files of any type, in order to avoid compilation time and make creating webtoys fun – that's the point after all. for production, almond is used to compile all the scripts, more on that later.

adding experiments

  1. create a file: _experiments/[name].md
---
title: [name]
published: false
---
  1. create an experiment in _src/experiments/[name].js. dimensions.js is used. folder structure:
  • experiments
  • scenes
  • objects
  • materials
  1. textures can be added to textures/

  2. when ready to publish: change published to true, add a video to _thumbnails/[name].mov and run the following commands to create the image and video thumbnails:

ffmpeg -i _thumbnails/UU00UUE3.mov -r 1 -s 320x500 -f image2 thumbnails/UU00UUE3.jpg
ffmpeg -i _thumbnails/UU00UUE3.mov thumbnails/UU00UUE3.webm
ffmpeg -i _thumbnails/UU00UUE3.mov -c:v libx264 -crf 15 thumbnails/UU00UUE3.mp4

TODO: incorporate this as a grunt task

LOCAL STAGING

before deploying you can make sure all the compiled files work building everything and serving a staging server locally.

run $ grunt staging to build and site the stagin will be served to localhost:4001

the final folders structure, after everything is built

├── index.html
├── e
|   ├── UU00UUE1
|   |   └── index.html
|   └── UU00UUE2
|       └── index.html
├── js
|   ├── e/UU00UUE1.js
|   └── e/UU00UUE2.js
├── thumbnails
|   ├── UU00UUE1.jpg
|   ├── UU00UUE1.webm
|   ├── UU00UUE1.mp4
|   ├── UU00UUE2.jpg
|   ├── UU00UUE2.webm
|   └── UU00UUE2.mp4
├── textures
|   ├── cola-base.png
|   └── cola-paper.png
└── audio
    ├── UU00UUE1-base.wav
    ├── UU00UUE1-drums.wav
    ├── UU00UUE2-base.wav
    └── UU00UUE2-drums.wav

HOW TO DEPLOY

  • install surge, create an acount and a project
  • edit domain: [...] in Gruntfile.js
  • $ grunt deploy

uu00uu's People

Contributors

underdogkid91 avatar jackbach avatar

Stargazers

Remco Janssen avatar

Watchers

James Cloos avatar  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.