Presented by:

I am 14 years old for snapcon 2021. I am currently studying for my CCNA, which I hope to take early next year. I am in middle school, which means I have plenty of time. I am glad I am not in high school for COVID-19. I will be going into the IB program next year. Last year, along with two people, I ran an experiment in Astro Pi where we measured the vegetation around cities, as opposed to far from cities. My talk is about 3d rendering with raycasting.

No materials for the event yet, sorry!

Last year, snap got a ray-length block. Using that, we could make a 3D image, and even with curved walls. However, that system had the problem that it was still only a 2D environment, without the ceiling and floor heights of DOOM. Based on that, I decided to create a program which does a similar thing, but in two dimensions. It choosing a colour for each pixel depending on the distance to the image, and the complexity of that location. The advantage of this system is that it can render images with many shapes quickly, as long as there is a simple pattern. In fact, it can render self-similar fractals without any additional stress. At the moment, I can generate a sphere, a tetrahedron, and a Sierpiński triangle. The renderer uses the distance and moves forward exactly that much, but it can also cut it off at whatever distance, which can be used to create additional width. This is required for the Sierpiński triangle to even be visible, but has to be minimized for the shells. At the moment, lighting is pillow shaded, like in the original ray casting demo, but any calculation can be done from the shape, such as the depth of the fractal at that point. While not complete, this project allows full 3d rendering, to the same appearance as with the ray-length block.

5 min
Plenary Room
Snap!Con 2021

Happening at the same time:

  1. Lightning Talks Round 2
  2. Start Time:
    2021 July 30 10:40

    Plenary Room

  3. Hallway Track
  4. Start Time:
    2021 July 30 08:00


Events Happening Next

The Secrets & Surprises in Coding Spirals:
TurtleStitch Tur-torial

Cynthia Solomon, Sarah Magner,

WORKSHOP DESCRIPTION In this workshop, we will focus on building blocks that allow you to play with polygons and spirals with TurtleStitch. If you create a design you love and do not have access to a computerized embroidery machine, global TurtleStitch community friends will embroider & mail you your design!

TurtleStitch is an activity and a coding environment. TurtleStitching is a mi...


Grand Gestures
Storytelling with AI

Jens Mönig, Jadga Hügle

In this workshop we'll share a curriculum around AI that we're currently working on. We try to show how to use machine learning in the classroom by implementing a gesture recognizer (based on the $1 gesture recognizer) in Snap!

We start by creating a single-stroke gesture drawing program.
By building an "animate" control structure based on the pen trails, we are able to animate our drawn...


Codification (Transformation) of GUI Elements and database structures from SNAP to Python
From blocks language to typing language by SNAP Code conversion

Matthias Kim

Codification means to create Python code directly out of SNAP Code via a mapping SNAP blocks to Python code. The created Python Code via codification in SNAP is downloaded and runs immediately in Python. This has been useful in supporting the steps from SNAP development in a blocks language to a typing language. I would like to show how we enhanced codification with GUI elements: There a...