Giter Club home page Giter Club logo

kaykit_halloween's Introduction

KayKit Halloween Scene Challenge

twitter mastodon bluesky bluesky

youtube github Patreon


Live Demo: https://sketchpunklabs.github.io/kaykit_halloween/

Assets Uses

TL;DR

Welcome to the the Halloween Scene Challenge. The goal is to take the threejs starter project & fix it up how you see fit to get it nice & creepy. Since the project is built to be easily hosted as a github page without any build steps, it becomes super easy to get it online for anyone to experience your creation.

To make it easy to find your creation, how about tagging your social posts with #threejshalloween. After halloween is over, I'll try to find as many awesome ones I can & link them here.

Ideas for fun additions

  • Skybox with stars & moon
  • Adding spooky lighting
  • Add bats to the scene & have them fly around
  • Volumetric fog
  • Music synced animation of some kind, like a zombie dance

Development Setup

git clone --depth=1 https://github.com/sketchpunklabs/kaykit_halloween
cd kaykit_halloween
npm install
npm run dev

Documentation

  • GridMap is an object made to manage dynamic instancing of 3D models while placing them properly on a grid.

  • AssetLibrary just manages bulk downloading of most the assets we need for the scene

  • useThreeWebGL2 is nicely wrapped ThreeJS boiler plate.

  • usePostEffects modifies the output of useThreeWebGL2 with the boiler plate additions to render the scene using post processing. Bloom example is in the App code but turned off by default.

  • FrameTaskQueue allows you to setup bits of code that will run before a frame is rendered. They can be long running tasks like animations or one time executions. This starter uses it to animate our lil skeleton friend.

  • RandomLCG is a seeded random number generator, currently not being used but might be useful to anyone who wants to be creative.

  • assets.json, lists all the assets that will be loaded by AssetLibrary

  • grid.json, handles instancing & placement of assets from the library in the scene

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.