Giter Club home page Giter Club logo

artzycamera's Introduction

Open Source Artzy™ Camera

The Open Source Artzy™ Camera is an ARKit super-starter project created by Delasign that features an AR multi-media recorder, 3 AR samples, a library of free metal shaders and special effects, illustrator and maya files.

Sharing is caring.

If you create anything, please share it on Instagram and tag @artzyapp along with #artzy.

Getting started

Download the repo and print the three images in the "GettingStarted" folder. These are the three AR samples that come with the project.

After printing, open the app and place your phone infront of the images to experience the three samples.

Ok, I want to start creating.

I recommend reading up on AR and ARKit before becoming familiar with how the samples were created. These are found in the "HowItWasMade" folder, which includes the files that were used and the corresponding images.

If you have any questions please email questions to : [email protected]

Recommended reading

For all posts ever, please visit my blog.

Apple Documentation:

ARKit Theory:

Sample projects

The repository comes with three opensource AR samples, which are detailed below.

'local' by adamfu x delasign

This project features a double neon glow - the word glows in blue, whilst the halo glows in red.

For tutorials on how this was created please read the following:

Geometry:

Neon:

Code:

The key parts to this working are found in PieceOfArtzy/PieceOfArtzy.swift line 182 -> 264, with the SCNTechnique and associated assets under the PieceOfArtzy/SpecialEffects/GlowInTwoColors folder.

Extra: To see it perform an animated, timed stroke - switch the functionality in PieceOfArtzy/PieceOfArtzy.swift line 34.

'loader' by delasign

This project features a 3d stroke neon glow - it appears as though the word has been drawn.

For tutorials on how this was created please read the following:

Geometry:

Neon:

Stroke: The key parts to this working are found in PieceOfArtzy/PieceOfArtzy.swift line 66 -> 92. The amount of the letter that must be shown at any given instance has to be programmed in order for the camera to be able to capture it. For a non-capturable version and how to take it from there to the latest version, please read:

Code:

The key parts to this working are found in PieceOfArtzy/PieceOfArtzy.swift line 264 -> 312, with the SCNTechnique and associated assets under the PieceOfArtzy/SpecialEffects/Glow folder.

'hand' by delasign

This project features an outline of a hand that animates to show you the peace sign.

For tutorials on how this was created please read the following:

Geometry:

Animation: Please note that the key to this is to only rotate the joints.

Code:

The key parts to this working are found in PieceOfArtzy/PieceOfArtzy.swift line 41 -> 59.

Shader library

If you are new to Shaders please read this: Vertices, Metal Shaders, UV Mapping and SCNProgram’s.

The current shader library can be found in PieceOfArtzy/Shaders and includes:

  • Color Shader
  • Texture Shader
  • Stroke Shader
  • Backwards Stroke Shader
  • Timed Stroke Shader
  • Timed Backwards Stroke Shader
  • Fade In Color Shader
  • Fade In Texture Shader

License

MIT License

Copyright (c) 2018 Delasign LLC.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Artzy™ Logo

Created by AdamFu under the and licensed under the Creative Commons Attribution 4.0 International License.

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.